clockid_t(3type) clockid_t(3type)

clockid_t - clock ID for the clock and timer functions

Standard C library (libc)

#include <sys/types.h>
typedef /* ... */ clockid_t;

Used for clock ID type in the clock and timer functions. It is defined as an arithmetic type.

POSIX.1-2008.

POSIX.1-2001.

The following header also provides this type: <time.h>.

clock_adjtime(2), clock_getres(2), clock_nanosleep(2), timer_create(2), clock_getcpuclockid(3)

2023-10-31 Linux man-pages 6.7