| 1 |
.\" Copyright, the authors of the Linux man-pages project |
| 2 |
.\" |
| 3 |
.\" SPDX-License-Identifier: Linux-man-pages-copyleft |
| 4 |
.\" |
| 5 |
.TH itimerspec 3type 2026-01-08 "Linux man-pages 6.18" |
| 6 |
.SH NAME |
| 7 |
itimerspec \- interval for a timer with nanosecond precision |
| 8 |
.SH LIBRARY |
| 9 |
Standard C library |
| 10 |
.RI ( libc ) |
| 11 |
.SH SYNOPSIS |
| 12 |
.EX |
| 13 |
.B #include <time.h> |
| 14 |
.P |
| 15 |
.B struct itimerspec { |
| 16 |
.BR " struct timespec it_interval;" " /* Interval for periodic timer */" |
| 17 |
.BR " struct timespec it_value;" " /* Initial expiration */" |
| 18 |
.B }; |
| 19 |
.EE |
| 20 |
.SH DESCRIPTION |
| 21 |
Describes the initial expiration of a timer, |
| 22 |
and its interval, |
| 23 |
in seconds and nanoseconds. |
| 24 |
.SH STANDARDS |
| 25 |
POSIX.1-2024. |
| 26 |
.SH HISTORY |
| 27 |
POSIX.1-1996. |
| 28 |
.SH SEE ALSO |
| 29 |
.BR timerfd_create (2), |
| 30 |
.BR timer_settime (2), |
| 31 |
.BR timespec (3type) |