summaryrefslogtreecommitdiff
path: root/man3/div.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-12 09:06:04 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-12 09:06:04 +0000
commit60a90ecdae7bf6d1a91dc5d1d7177e400b114e47 (patch)
tree9f7c19a897084607a9688be5414d0d4cd6391b54 /man3/div.3
parentd92a60f2575c95cd532b822e4fb983c3a9e35641 (diff)
Convert function formatting of the form "\fBname\fP()" to ".BR name ()".
Diffstat (limited to 'man3/div.3')
-rw-r--r--man3/div.311
1 files changed, 9 insertions, 2 deletions
diff --git a/man3/div.3 b/man3/div.3
index 499d48107..cdd878d2b 100644
--- a/man3/div.3
+++ b/man3/div.3
@@ -48,7 +48,9 @@ an integer division
.BI "imaxdiv_t imaxdiv(intmax_t " numerator ", intmax_t " denominator );
.fi
.SH DESCRIPTION
-The \fBdiv\fP() function computes the value
+The
+.BR div ()
+function computes the value
\fInumerator\fP/\fIdenominator\fP and
returns the quotient and remainder in a structure
named \fIdiv_t\fP that contains
@@ -56,7 +58,12 @@ two integer members (in unspecified order) named \fIquot\fP and \fIrem\fP.
The quotient is rounded towards zero.
The result satisfies \fIquot\fP*\fIdenominator\fP+\fIrem\fP = \fInumerator\fP.
.LP
-The \fBldiv\fP() and \fBlldiv\fP() and \fBimaxdiv\fP() functions do the same,
+The
+.BR ldiv () and
+.BR lldiv ()
+and
+.BR imaxdiv ()
+functions do the same,
dividing numbers of the indicated type and
returning the result in a structure
of the indicated name, in all cases with fields \fIquot\fP and \fIrem\fP