itimerspec - interval for a timer with nanosecond precision

NAME  LIBRARY  SYNOPSIS  DESCRIPTION  STANDARDS  NOTES  SEE ALSO 

NAME

timespec − interval for a timer with nanosecond precision

LIBRARY

Standard C library (libc)

SYNOPSIS

#include <time.h>

struct itimerspec {
struct timespec it_interval;
/* Interval for periodic timer */
struct timespec it_value;
/* Initial expiration */
};

DESCRIPTION

Describes the initial expiration of a timer, and its interval, in seconds and nanoseconds.

STANDARDS

Linux.

NOTES

The following header also provides this type: <sys/timerfd.h>.

SEE ALSO

timerfd_create(2), timer_settime(2), timespec(3type)


Updated 2024-01-29 - jenkler.se | uex.se