Loading...
--- Libc/Libc-262.2.12/stdlib/div.3
+++ Libc/Libc-583/stdlib/div.3
@@ -32,9 +32,9 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)div.3 8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/stdlib/div.3,v 1.6 2001/09/07 14:46:35 asmodai Exp $
+.\" $FreeBSD: src/lib/libc/stdlib/div.3,v 1.8 2002/12/18 13:33:03 ru Exp $
.\"
-.Dd June 4, 1993
+.Dd November 14, 2001
.Dt DIV 3
.Os
.Sh NAME
@@ -45,26 +45,30 @@
.Sh SYNOPSIS
.In stdlib.h
.Ft div_t
-.Fn div "int num" "int denom"
+.Fn div "int numer" "int denom"
.Sh DESCRIPTION
The
.Fn div
function
computes the value
-.Fa num/denom
-and returns the quotient and remainder in a structure named
+.Fa numer/denom
+(numerator/denominator).
+It returns a structure named
.Fa div_t
that contains two
-.Em int
+.Vt int
members named
-.Fa quot
-and
-.Fa rem .
+.Va quot
+(quotient) and
+.Va rem
+(remainder).
.Sh SEE ALSO
-.Xr ldiv 3
+.Xr imaxdiv 3 ,
+.Xr ldiv 3 ,
+.Xr lldiv 3
.Sh STANDARDS
The
.Fn div
function
conforms to
-.St -isoC .
+.St -isoC-99 .