Loading...
--- Libc/Libc-262/stdlib/ldiv.3
+++ Libc/Libc-583/stdlib/ldiv.3
@@ -34,9 +34,9 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ldiv.3 8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/stdlib/ldiv.3,v 1.7 2001/09/07 14:46:35 asmodai Exp $
+.\" $FreeBSD: src/lib/libc/stdlib/ldiv.3,v 1.9 2002/12/18 13:33:03 ru Exp $
.\"
-.Dd June 4, 1993
+.Dd November 14, 2001
.Dt LDIV 3
.Os
.Sh NAME
@@ -47,27 +47,30 @@
.Sh SYNOPSIS
.In stdlib.h
.Ft ldiv_t
-.Fn ldiv "long num" "long denom"
+.Fn ldiv "long numer" "long denom"
.Sh DESCRIPTION
The
.Fn ldiv
function
computes the value
-.Ar num/denom
-and returns the quotient and remainder in a structure named
-.Ar ldiv_t
+.Fa numer Ns / Ns Fa denom
+(numerator/denominator).
+Ir returns the quotient and remainder in a structure named
+.Vt ldiv_t
that contains two
-.Em long integer
+.Vt long
members named
-.Ar quot
+.Va quot
and
-.Ar rem .
+.Va 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 .
+.St -isoC-99 .