]> git.saurik.com Git - apple/libc.git/blob - stdlib/FreeBSD/div.3.patch
9d2d044394cd27d4c2d583e9894e21003f7212cd
[apple/libc.git] / stdlib / FreeBSD / div.3.patch
1 --- div.3.bsdnew 2009-11-13 14:11:48.000000000 -0800
2 +++ div.3 2009-11-13 14:11:48.000000000 -0800
3 @@ -41,21 +41,23 @@
4 .Sh SYNOPSIS
5 .In stdlib.h
6 .Ft div_t
7 -.Fn div "int num" "int denom"
8 +.Fn div "int numer" "int denom"
9 .Sh DESCRIPTION
10 The
11 .Fn div
12 function
13 computes the value
14 -.Fa num/denom
15 -and returns the quotient and remainder in a structure named
16 +.Fa numer/denom
17 +(numerator/denominator).
18 +It returns a structure named
19 .Fa div_t
20 that contains two
21 .Vt int
22 members named
23 .Va quot
24 -and
25 -.Va rem .
26 +(quotient) and
27 +.Va rem
28 +(remainder).
29 .Sh SEE ALSO
30 .Xr imaxdiv 3 ,
31 .Xr ldiv 3 ,