Loading...
--- Libc/Libc-763.13/stdlib/ldiv.3
+++ Libc/Libc-262.3.2/stdlib/ldiv.3
@@ -13,6 +13,10 @@
.\" 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.
@@ -30,9 +34,9 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ldiv.3 8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/stdlib/ldiv.3,v 1.10 2007/01/09 00:28:10 imp Exp $
+.\" $FreeBSD: src/lib/libc/stdlib/ldiv.3,v 1.7 2001/09/07 14:46:35 asmodai Exp $
.\"
-.Dd November 14, 2001
+.Dd June 4, 1993
.Dt LDIV 3
.Os
.Sh NAME
@@ -43,30 +47,27 @@
.Sh SYNOPSIS
.In stdlib.h
.Ft ldiv_t
-.Fn ldiv "long numer" "long denom"
+.Fn ldiv "long num" "long denom"
.Sh DESCRIPTION
The
.Fn ldiv
function
computes the value
-.Fa numer Ns / Ns Fa denom
-(numerator/denominator).
-Ir returns the quotient and remainder in a structure named
-.Vt ldiv_t
+.Ar num/denom
+and returns the quotient and remainder in a structure named
+.Ar ldiv_t
that contains two
-.Vt long
+.Em long integer
members named
-.Va quot
+.Ar quot
and
-.Va rem .
+.Ar rem .
.Sh SEE ALSO
.Xr div 3 ,
-.Xr imaxdiv 3 ,
-.Xr lldiv 3 ,
.Xr math 3
.Sh STANDARDS
The
.Fn ldiv
function
conforms to
-.St -isoC-99 .
+.St -isoC .