Skip to contentSkip to conversation

system_data_types.7: Add imaxdiv_t

PATCH In review Alejandro Colomar 2 participants 4 messages Sep 24, 2020 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 system_data_types.7: Add imaxdiv_t

---
 man7/system_data_types.7 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
man7/system_data_types.7 +22 -0
index ea3e25175..c00345741 100644
@@ -182,6 +182,28 @@ Conforming to: POSIX.1-2001 and later.
 See also:
 .BR getpriority (2),
 .BR waitid (2)
+.\"------------------------------------- imaxdiv_t --------------------/
+.TP
+.I imaxdiv_t
+.IP
+Include:
+.IR <inttypes.h> .
+.IP
+.EX
+typedef struct {
+    intmax_t    quot; /* Quotient */
+    intmax_t    rem;  /* Remainder */
+} imaxdiv_t;
+.EE
+.IP
+It is the type of the value returned by the
+.I imaxdiv (3)
+function.
+.IP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.IP
+See also:
+.BR imaxdiv (3)
 .\"------------------------------------- pid_t ------------------------/
 .TP
 .I pid_t
Signature · 1 line
2.28.0
#1 lore raw

PATCH 2/2 imaxdiv_t.3: New link to system_data_types(7)

---
 man3/imaxdiv_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/imaxdiv_t.3
man3/imaxdiv_t.3 new file +1 -0
new file mode 100644
index 000000000..db50c0f09
@@ -0,0 +1 @@
+.so man7/system_data_types.7
Signature · 1 line
2.28.0
#2 lore raw

Re: [PATCH 2/2] imaxdiv_t.3: New link to system_data_types(7)

Quoted 1 line · Alejandro Colomar

Thanks, Alex. Patch applied.

Cheers,

Michael

Quoted 13 lines
---
 man3/imaxdiv_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/imaxdiv_t.3
man3/imaxdiv_t.3 new file +1 -0
new file mode 100644
index 000000000..db50c0f09
@@ -0,0 +1 @@
+.so man7/system_data_types.7
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
#3 lore raw
In reply to Alejandro Colomar
Quoted 4 lines · Alejandro Colomar
---
 man7/system_data_types.7 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Thanks, Alex. Patch applied.

Cheers,

Michael

Quoted 34 lines
man7/system_data_types.7 +22 -0
index ea3e25175..c00345741 100644
@@ -182,6 +182,28 @@ Conforming to: POSIX.1-2001 and later.
 See also:
 .BR getpriority (2),
 .BR waitid (2)
+.\"------------------------------------- imaxdiv_t --------------------/
+.TP
+.I imaxdiv_t
+.IP
+Include:
+.IR <inttypes.h> .
+.IP
+.EX
+typedef struct {
+    intmax_t    quot; /* Quotient */
+    intmax_t    rem;  /* Remainder */
+} imaxdiv_t;
+.EE
+.IP
+It is the type of the value returned by the
+.I imaxdiv (3)
+function.
+.IP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.IP
+See also:
+.BR imaxdiv (3)
 .\"------------------------------------- pid_t ------------------------/
 .TP
 .I pid_t
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/