.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\" SUCH DAMAGE.
.\"
.\" @(#)div.3 8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/stdlib/div.3,v 1.8 2002/12/18 13:33:03 ru Exp $
+.\" $FreeBSD: src/lib/libc/stdlib/div.3,v 1.9 2007/01/09 00:28:09 imp Exp $
.\"
.Dd November 14, 2001
.Dt DIV 3
.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
.Vt int
members named
.Va quot
-and
-.Va rem .
+(quotient) and
+.Va rem
+(remainder).
.Sh SEE ALSO
.Xr imaxdiv 3 ,
.Xr ldiv 3 ,