summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/imaxdiv.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-11-21 16:19:50 +0000
committerru <ru@FreeBSD.org>2001-11-21 16:19:50 +0000
commita7f5495c62129beb08e8bef209ee0e394a8651a3 (patch)
tree9fda5ed657b3a52e0737652661d84437f950354c /lib/libc/stdlib/imaxdiv.3
parent05f71d823e1d27ebf4224bc2385474aef98bbbbb (diff)
downloadFreeBSD-src-a7f5495c62129beb08e8bef209ee0e394a8651a3.zip
FreeBSD-src-a7f5495c62129beb08e8bef209ee0e394a8651a3.tar.gz
mdoc(7) police: fixed typos and minor markup nits.
Diffstat (limited to 'lib/libc/stdlib/imaxdiv.3')
-rw-r--r--lib/libc/stdlib/imaxdiv.316
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/libc/stdlib/imaxdiv.3 b/lib/libc/stdlib/imaxdiv.3
index b451064..0ee0971 100644
--- a/lib/libc/stdlib/imaxdiv.3
+++ b/lib/libc/stdlib/imaxdiv.3
@@ -34,8 +34,8 @@
.Lb libc
.Sh SYNOPSIS
.In inttypes.h
-.Ft "imaxdiv_t"
-.Fn imaxabs "intmax_t numer" "intmax_t denom"
+.Ft imaxdiv_t
+.Fn imaxdiv "intmax_t numer" "intmax_t denom"
.Sh DESCRIPTION
The
.Fn imaxdiv
@@ -43,17 +43,19 @@ function computes the value of
.Fa numer
divided by
.Fa denom
-and returns the stored result in the form of the imaxdiv_t type.
+and returns the stored result in the form of the
+.Vt imaxdiv_t
+type.
.Pp
-The imaxdiv_t type is defined as:
-.Pp
-.Bd -literal -offset indent -compact
+The
+.Vt imaxdiv_t
+type is defined as:
+.Bd -literal -offset indent
typedef struct {
intmax_t quot; /* Quotient. */
intmax_t rem; /* Remainder. */
} imaxdiv_t;
.Ed
-.Pp
.Sh SEE ALSO
.Xr div 3 ,
.Xr ldiv 3 ,
OpenPOWER on IntegriCloud