]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
div_t.3, ldiv_t.3, system_data_types.7: Move ldiv_t to div_t.3
authorAlejandro Colomar <alx.manpages@gmail.com>
Tue, 2 Nov 2021 17:35:42 +0000 (18:35 +0100)
committerAlejandro Colomar <alx.manpages@gmail.com>
Thu, 24 Feb 2022 22:17:45 +0000 (23:17 +0100)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/div_t.3
man3/ldiv_t.3
man7/system_data_types.7

index bf1687e0d4b78f9b6cc3eb97cd465df583ad9481..3d2697cac169e3c4cd3e1b9495bcb03c5933c284 100644 (file)
@@ -1,6 +1,6 @@
 .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>
@@ -10,6 +10,11 @@ div_t, imaxdiv_t \- quotient and remainder of an integer division
 .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 {
@@ -18,9 +23,9 @@ div_t, imaxdiv_t \- quotient and remainder of an integer division
 .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
@@ -31,4 +36,5 @@ function.
 C99 and later; POSIX.1-2001 and later.
 .SH SEE ALSO
 .BR div (3),
-.BR imaxdiv (3)
+.BR imaxdiv (3),
+.BR ldiv (3)
index db50c0f091ba6442b76b46ac3e8ede4579ef8d55..e29b9e797d3158f106bc43a700d0276188463560 100644 (file)
@@ -1 +1 @@
-.so man7/system_data_types.7
+.so man3/div_t.3
index eb1f9342e13842bfb219eaf60d1e2bfb3e43e5d3..04afe6697825c1f07bdae89fc0ea50cf92c5273e 100644 (file)
@@ -136,29 +136,6 @@ types in this page.
 .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