Skip to contentSkip to conversation

system_data_types.7: Add div_t

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

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 system_data_types.7: Add div_t

---
 man7/system_data_types.7 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
man7/system_data_types.7 +22 -0
index c00345741..077d669b4 100644
@@ -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
+.I 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
Signature · 1 line
2.28.0
#1 lore raw

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

---
 man3/div_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/div_t.3
man3/div_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/6] div_t.3: New link to system_data_types(7)

Quoted 13 lines · Alejandro Colomar
---
 man3/div_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/div_t.3
man3/div_t.3 new file +0 -0
new file mode 100644
index 000000000..db50c0f09

man3/div_t.3 line 1

Quoted 1 line
man3/div_t.3 new file +1 -0
@@ -0,0 +1 @@
+.so man7/system_data_types.7

Applied.

Thanks,

Michael

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

PATCH 3/6 system_data_types.7: Add ldiv_t

In reply to Alejandro Colomar
---
 man7/system_data_types.7 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
man7/system_data_types.7 +22 -0
index 077d669b4..1f7c172d7 100644
@@ -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
Signature · 1 line
2.28.0
#4 lore raw

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

Quoted 29 lines · Alejandro Colomar
---
 man7/system_data_types.7 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
man7/system_data_types.7 +15 -0
index 077d669b4..1f7c172d7 100644
@@ -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

man7/system_data_types.7 Conforming to: C99 and later; POSIX.1-2001 and later. · line 253

Quoted 10 lines
man7/system_data_types.7 +7 -0
+.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

Applied.

Thanks,

Michael

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/
#6 lore raw

Re: [PATCH 4/6] ldiv_t.3: New link to system_data_types(7)

Quoted 13 lines · Alejandro Colomar
---
 man3/ldiv_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/ldiv_t.3
man3/ldiv_t.3 new file +0 -0
new file mode 100644
index 000000000..db50c0f09

man3/ldiv_t.3 line 1

Quoted 1 line
man3/ldiv_t.3 new file +1 -0
@@ -0,0 +1 @@
+.so man7/system_data_types.7

Applied.

Thanks,

Michael

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/
#7 lore raw

PATCH 5/6 system_data_types.7: Add lldiv_t

In reply to Alejandro Colomar
---
 man7/system_data_types.7 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
man7/system_data_types.7 +22 -0
index 1f7c172d7..c3add1400 100644
@@ -248,6 +248,28 @@ Conforming to: C99 and later; POSIX.1-2001 and later.
 .IP
 See also:
 .BR ldiv (3)
+.\"------------------------------------- lldiv_t ----------------------/
+.TP
+.I lldiv_t
+.IP
+Include:
+.IR <stdlib.h> .
+.IP
+.EX
+typedef struct {
+    long long   quot; /* Quotient */
+    long long   rem;  /* Remainder */
+} lldiv_t;
+.EE
+.IP
+It is the type of the value returned by the
+.I lldiv (3)
+function.
+.IP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.IP
+See also:
+.BR lldiv (3)
 .\"------------------------------------- pid_t ------------------------/
 .TP
 .I pid_t
Signature · 1 line
2.28.0
#8 lore raw

Re: [PATCH 5/6] system_data_types.7: Add lldiv_t

Oops,

see typo below:

Quoted 19 lines · Alejandro Colomar
---
  man7/system_data_types.7 | 22 ++++++++++++++++++++++
  1 file changed, 22 insertions(+)
man7/system_data_types.7 +6 -0
index 1f7c172d7..c3add1400 100644
@@ -248,6 +248,28 @@ Conforming to: C99 and later; POSIX.1-2001 and later.
  .IP
  See also:
  .BR ldiv (3)
+.\"------------------------------------- lldiv_t ----------------------/
+.TP
+.I lldiv_t
+.IP
+Include:
+.IR <stdlib.h> .

man7/system_data_types.7 Conforming to: C99 and later; POSIX.1-2001 and later. · line 266

Quoted 10 lines
man7/system_data_types.7 +10 -0
+.IP
+.EX
+typedef struct {
+    long long   quot; /* Quotient */
+    long long   rem;  /* Remainder */
+} lldiv_t;
+.EE
+.IP
+It is the type of the value returned by the
+.I lldiv (3)

I should've used .IR

It's the same in the other patches

Please fix it before applying if you haven't done yet.

I'll send a fix for imaxdiv_t.

man7/system_data_types.7 Conforming to: C99 and later; POSIX.1-2001 and later. · line 275

Quoted 10 lines
man7/system_data_types.7 +6 -0
+function.
+.IP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.IP
+See also:
+.BR lldiv (3)
  .\"------------------------------------- pid_t ------------------------/
  .TP
  .I pid_t

Thanks,

Alex

#9 lore raw

Re: [PATCH 5/6] system_data_types.7: Add lldiv_t

D'oh!

Quoted 29 lines · Alejandro Colomar

Oops,

see typo below:

Quoted 24 lines · Alejandro Colomar

---
  man7/system_data_types.7 | 22 ++++++++++++++++++++++

  1 file changed, 22 insertions(+)
man7/system_data_types.7 +0 -0
index 1f7c172d7..c3add1400 100644
@@ -248,6 +248,28 @@ Conforming to: C99 and later; POSIX.1-2001 and 

later.
  .IP
  See also:
  .BR ldiv (3)
+.\"------------------------------------- lldiv_t ----------------------/ +.TP
+.I lldiv_t
+.IP

man7/system_data_types.7 +6 -0
+Include:
+.IR <stdlib.h> .
+.IP
+.EX
+typedef struct {
+    long long   quot; /* Quotient */
Quoted 8 lines

man7/system_data_types.7 Conforming to: C99 and later; POSIX.1-2001 and later. · line 266

Quoted 6 lines

+    long long   rem;  /* Remainder */

man7/system_data_types.7 +5 -0
+} lldiv_t;
+.EE
+.IP
+It is the type of the value returned by the
+.I lldiv (3)

I should've used .IR

.BR

Quoted 22 lines

It's the same in the other patches

Please fix it before applying if you haven't done yet.

I'll send a fix for imaxdiv_t.

Quoted 11 lines
man7/system_data_types.7 +6 -0
+function.
+.IP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.IP
+See also:
+.BR lldiv (3)

  .\"------------------------------------- pid_t
------------------------/
  .TP
  .I pid_t

Thanks,

Alex

#10 lore raw

Re: [PATCH 5/6] system_data_types.7: Add lldiv_t

In reply to Alejandro Colomar
Quoted 37 lines · Alejandro Colomar

Oops,

see typo below:

Quoted 19 lines · Alejandro Colomar
---
  man7/system_data_types.7 | 22 ++++++++++++++++++++++
  1 file changed, 22 insertions(+)
man7/system_data_types.7 +6 -0
index 1f7c172d7..c3add1400 100644
@@ -248,6 +248,28 @@ Conforming to: C99 and later; POSIX.1-2001 and later.
  .IP
  See also:
  .BR ldiv (3)
+.\"------------------------------------- lldiv_t ----------------------/
+.TP
+.I lldiv_t
+.IP
+Include:
+.IR <stdlib.h> .

man7/system_data_types.7 Conforming to: C99 and later; POSIX.1-2001 and later. · line 266

Quoted 10 lines
man7/system_data_types.7 +10 -0
+.IP
+.EX
+typedef struct {
+    long long   quot; /* Quotient */
+    long long   rem;  /* Remainder */
+} lldiv_t;
+.EE
+.IP
+It is the type of the value returned by the
+.I lldiv (3)

I should've used .IR

Quoted 3 lines

It's the same in the other patches

Please fix it before applying if you haven't done yet.

I fixed them all to use .BR.

Quoted 1 line

I'll send a fix for imaxdiv_t.

Okay.

Thanks,

Michael

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/
#11 lore raw

Re: [PATCH 5/6] system_data_types.7: Add lldiv_t

In reply to Alejandro Colomar
Quoted 29 lines · Alejandro Colomar
---
 man7/system_data_types.7 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
man7/system_data_types.7 +15 -0
index 1f7c172d7..c3add1400 100644
@@ -248,6 +248,28 @@ Conforming to: C99 and later; POSIX.1-2001 and later.
 .IP
 See also:
 .BR ldiv (3)
+.\"------------------------------------- lldiv_t ----------------------/
+.TP
+.I lldiv_t
+.IP
+Include:
+.IR <stdlib.h> .
+.IP
+.EX
+typedef struct {
+    long long   quot; /* Quotient */
+    long long   rem;  /* Remainder */
+} lldiv_t;
+.EE
+.IP
+It is the type of the value returned by the

man7/system_data_types.7 Conforming to: C99 and later; POSIX.1-2001 and later. · line 275

Quoted 10 lines
man7/system_data_types.7 +7 -0
+.I lldiv (3)
+function.
+.IP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.IP
+See also:
+.BR lldiv (3)
 .\"------------------------------------- pid_t ------------------------/
 .TP
 .I pid_t

Applied.

Thanks,

Michael

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/
#13 lore raw

Re: [PATCH 6/6] lldiv_t.3: New link to system_data_types(7)

Quoted 13 lines · Alejandro Colomar
---
 man3/lldiv_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/lldiv_t.3
man3/lldiv_t.3 new file +0 -0
new file mode 100644
index 000000000..db50c0f09

man3/lldiv_t.3 line 1

Quoted 1 line
man3/lldiv_t.3 new file +1 -0
@@ -0,0 +1 @@
+.so man7/system_data_types.7

Applied.

Thanks,

Michael

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/
#14 lore raw
In reply to Alejandro Colomar
Quoted 29 lines · Alejandro Colomar
---
 man7/system_data_types.7 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
man7/system_data_types.7 +15 -0
index c00345741..077d669b4 100644
@@ -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

man7/system_data_types.7 See also: · line 122

Quoted 10 lines
man7/system_data_types.7 +7 -0
+.I 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

Applied.

Thanks,

Michael

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/