]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
system_data_types.7: Add div_t
authorAlejandro Colomar <colomar.6.4.3@gmail.com>
Thu, 24 Sep 2020 10:13:04 +0000 (12:13 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 24 Sep 2020 11:03:03 +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 c0034574199000ee874b028dea5f6f0dd823a25c..503502c601a7f2018e1733de2f73641873ce27ef 100644 (file)
@@ -95,6 +95,28 @@ See also:
 .BR aio_suspend (3),
 .BR aio_write (3),
 .BR lio_listio (3)
+.\"------------------------------------- div_t ------------------------/
+.TP
+.I div_t
+.IP
+Include:
+.IR <stdlib.h> .
+.IP
+.EX
+typedef struct {
+    int quot; /* Quotient */
+    int rem;  /* Remainder */
+} div_t;
+.EE
+.IP
+It is the type of the value returned by the
+.BR div (3)
+function.
+.IP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.IP
+See also:
+.BR div (3)
 .\"------------------------------------- fenv_t -----------------------/
 .TP
 .I fenv_t