]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
system_data_types.7: Add ldiv_t
authorAlejandro Colomar <colomar.6.4.3@gmail.com>
Thu, 24 Sep 2020 10:13:06 +0000 (12:13 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 24 Sep 2020 11:03:35 +0000 (13:03 +0200)
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/system_data_types.7

index 503502c601a7f2018e1733de2f73641873ce27ef..5b3f259c4cfd7e87e5b1cd6e0415b4c9624b101f 100644 (file)
@@ -226,6 +226,28 @@ Conforming to: C99 and later; POSIX.1-2001 and later.
 .IP
 See also:
 .BR imaxdiv (3)
+.\"------------------------------------- ldiv_t -----------------------/
+.TP
+.I ldiv_t
+.IP
+Include:
+.IR <stdlib.h> .
+.IP
+.EX
+typedef struct {
+    long    quot; /* Quotient */
+    long    rem;  /* Remainder */
+} ldiv_t;
+.EE
+.IP
+It is the type of the value returned by the
+.BR ldiv (3)
+function.
+.IP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.IP
+See also:
+.BR ldiv (3)
 .\"------------------------------------- pid_t ------------------------/
 .TP
 .I pid_t