[PATCH 1/2] system_Data_types.7: Add 'clockid_t'

Alejandro Colomar colomar.6.4.3@gmail.com
Sun Oct 25 21:08:16 GMT 2020


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

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 28d276c69..49ca2d8e1 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -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
-- 
2.28.0



More information about the Libc-alpha mailing list