[PATCH 3/6] system_data_types.7: Add ldiv_t

Alejandro Colomar
2020-09-24T10:13:35Z

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
man7/system_data_types.7 | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 077d669b4..1f7c172d7 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -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
+.I 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
--
2.28.0