Skip to contentSkip to conversation

system_Data_types.7: Add 'clockid_t'

PATCH In review Alejandro Colomar 2 participants 4 messages Oct 25, 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 'clockid_t'

---
 man7/system_data_types.7 | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
man7/system_data_types.7 +23 -0
index 28d276c69..49ca2d8e1 100644
@@ -110,6 +110,29 @@ See also:
 .BR times (2),
 .BR clock (3)
 .RE
+.\"------------------------------------- clockid_t --------------------/
+.TP
+.I clockid_t
+.RS
+Include:
+.IR <sys/types.h> .
+Alternatively,
+.IR <time.h> .
+.PP
+Used for clock ID type in the clock and timer functions.
+According to POSIX,
+it shall be defined as an arithmetic type.
+.PP
+Conforming to:
+POSIX.1-2001 and later.
+.PP
+See also:
+.BR clock_adjtime (2),
+.BR clock_getres (2),
+.BR clock_nanosleep (2),
+.BR timer_create (2),
+.BR clock_getcpuclockid (3)
+.RE
 .\"------------------------------------- div_t ------------------------/
 .TP
 .I div_t
Signature · 1 line
2.28.0
#1 lore raw

PATCH 2/2 clockid_t: New link to system_data_types(7)

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

Quoted 1 line · Alejandro Colomar

Thanks, Alex. Patch applied.

Cheers,

Michael

Quoted 13 lines
---
 man3/clockid_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/clockid_t.3
man3/clockid_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 1 line · Alejandro Colomar

Thanks, Alex. Patch applied.

Cheers,

Michael

Quoted 39 lines
---
 man7/system_data_types.7 | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
man7/system_data_types.7 +23 -0
index 28d276c69..49ca2d8e1 100644
@@ -110,6 +110,29 @@ See also:
 .BR times (2),
 .BR clock (3)
 .RE
+.\"------------------------------------- clockid_t --------------------/
+.TP
+.I clockid_t
+.RS
+Include:
+.IR <sys/types.h> .
+Alternatively,
+.IR <time.h> .
+.PP
+Used for clock ID type in the clock and timer functions.
+According to POSIX,
+it shall be defined as an arithmetic type.
+.PP
+Conforming to:
+POSIX.1-2001 and later.
+.PP
+See also:
+.BR clock_adjtime (2),
+.BR clock_getres (2),
+.BR clock_nanosleep (2),
+.BR timer_create (2),
+.BR clock_getcpuclockid (3)
+.RE
 .\"------------------------------------- div_t ------------------------/
 .TP
 .I div_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/