1itimerspec(3type) itimerspec(3type)
2
3
4
6 timespec - interval for a timer with nanosecond precision
7
9 Standard C library (libc)
10
12 #include <time.h>
13
14 struct itimerspec {
15 struct timespec it_interval; /* Interval for periodic timer */
16 struct timespec it_value; /* Initial expiration */
17 };
18
20 Describes the initial expiration of a timer, and its interval, in sec‐
21 onds and nanoseconds.
22
24 Linux.
25
27 The following header also provides this type: <sys/timerfd.h>.
28
30 timerfd_create(2), timer_settime(2), timespec(3type)
31
32
33
34Linux man-pages 6.04 2023-03-30 itimerspec(3type)