Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
.TH DIV_T 3 2021-11-02 Linux "Linux Programmer's Manual"
.SH NAME
-div_t, imaxdiv_t \- quotient and remainder of an integer division
+div_t, ldiv_t, imaxdiv_t \- quotient and remainder of an integer division
.SH SYNOPSIS
.nf
.B #include <stdlib.h>
.BR " int rem;" " /* Remainder */"
.B } div_t;
.PP
+.B typedef struct {
+.BR " long quot;" " /* Quotient */"
+.BR " long rem;" " /* Remainder */"
+.B } ldiv_t;
+.PP
.B #include <inttypes.h>
.PP
.B typedef struct {
.B } imaxdiv_t;
.fi
.SH DESCRIPTION
-.I div_t
+.RI [ l ] div_t
is the type of the value returned by the
-.BR div (3)
+.RB [ l ] div (3)
function.
.PP
.I imaxdiv_t
C99 and later; POSIX.1-2001 and later.
.SH SEE ALSO
.BR div (3),
-.BR imaxdiv (3)
+.BR imaxdiv (3),
+.BR ldiv (3)
-.so man7/system_data_types.7
+.so man3/div_t.3
.RE
.\"------------------------------------- lconv ------------------------/
.\"------------------------------------- ldiv_t -----------------------/
-.TP
-.I ldiv_t
-.RS
-.IR Include :
-.IR <stdlib.h> .
-.PP
-.EX
-typedef struct {
- long quot; /* Quotient */
- long rem; /* Remainder */
-} ldiv_t;
-.EE
-.PP
-It is the type of the value returned by the
-.BR ldiv (3)
-function.
-.PP
-.IR "Conforming to" :
-C99 and later; POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-.BR ldiv (3)
-.RE
.\"------------------------------------- lldiv_t ----------------------/
.TP
.I lldiv_t