diff options
Diffstat (limited to 'src/lib/libc/stdlib/div.3')
-rw-r--r-- | src/lib/libc/stdlib/div.3 | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/lib/libc/stdlib/div.3 b/src/lib/libc/stdlib/div.3 index a4730694a5..1f651d7fd3 100644 --- a/src/lib/libc/stdlib/div.3 +++ b/src/lib/libc/stdlib/div.3 | |||
@@ -31,8 +31,7 @@ | |||
31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
32 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
33 | .\" | 33 | .\" |
34 | .\" from: @(#)div.3 5.2 (Berkeley) 4/19/91 | 34 | .\" $OpenBSD: div.3,v 1.5 2000/04/20 13:50:02 aaron Exp $ |
35 | .\" $Id: div.3,v 1.1.1.1 1995/10/18 08:42:17 deraadt Exp $ | ||
36 | .\" | 35 | .\" |
37 | .Dd April 19, 1991 | 36 | .Dd April 19, 1991 |
38 | .Dt DIV 3 | 37 | .Dt DIV 3 |
@@ -47,24 +46,22 @@ | |||
47 | .Sh DESCRIPTION | 46 | .Sh DESCRIPTION |
48 | The | 47 | The |
49 | .Fn div | 48 | .Fn div |
50 | function | 49 | function computes the value |
51 | computes the value | 50 | .Fa num Ns No / Ns Fa denom |
52 | .Fa num/denom | ||
53 | and returns the quotient and remainder in a structure named | 51 | and returns the quotient and remainder in a structure named |
54 | .Fa div_t | 52 | .Fa div_t |
55 | that contains two | 53 | that contains two |
56 | .Em int | 54 | .Li int |
57 | members named | 55 | members named |
58 | .Fa quot | 56 | .Fa quot |
59 | and | 57 | and |
60 | .Fa rem . | 58 | .Fa rem . |
61 | .Sh SEE ALSO | 59 | .Sh SEE ALSO |
62 | .Xr ldiv 3 , | 60 | .Xr ldiv 3 , |
63 | .Xr qdiv 3 , | 61 | .Xr math 3 , |
64 | .Xr math 3 | 62 | .Xr qdiv 3 |
65 | .Sh STANDARDS | 63 | .Sh STANDARDS |
66 | The | 64 | The |
67 | .Fn div | 65 | .Fn div |
68 | function | 66 | function conforms to |
69 | conforms to | ||
70 | .St -ansiC . | 67 | .St -ansiC . |