itimerspec(3type) itimerspec(3type)

itimerspec - interval for a timer with nanosecond precision

Standard C library (libc)

#include <time.h>
struct itimerspec {
    struct timespec  it_interval;  /* Interval for periodic timer */
    struct timespec  it_value;     /* Initial expiration */
};

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

POSIX.1-2008.

POSIX.1-2001.

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

2024-05-02 Linux man-pages 6.9.1