system_Data_types.7: Add 'clockid_t'

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Alejandro Colomar 2020-10-25 22:08:16 +01:00 committed by Michael Kerrisk
parent 083d4e6a47
commit 8df562c03f
1 changed files with 23 additions and 0 deletions

View File

@ -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