]> git.saurik.com Git - apple/libc.git/blob - stdlib/FreeBSD/div.3.patch
Libc-498.1.5.tar.gz
[apple/libc.git] / stdlib / FreeBSD / div.3.patch
1 --- _SB/Libc/stdlib/FreeBSD/div.3 2003-05-20 15:23:24.000000000 -0700
2 +++ _SB/Libc/stdlib/FreeBSD/div.3.edit 2006-06-28 16:55:52.000000000 -0700
3 @@ -45,21 +45,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 ,