Expand description
Time-related operations.
Structs§
TFD_*
flags for use withtimerfd_create
.TFD_TIMER_*
flags for use withtimerfd_settime
.
Enums§
CLOCK_*
constants for use withtimerfd_create
.
Functions§
clock_getres(id)
—Returns the resolution of a clock.clock_gettime(id)
—Returns the current value of a clock.- Like
clock_gettime
but with support for dynamic clocks. clock_settime(id, timespec)
—Sets the current value of a settable clock.timerfd_create(clockid, flags)
—Create a timer.timerfd_gettime(clockid, flags)
—Query a timer.timerfd_settime(clockid, flags, new_value)
—Set the time on a timer.