summaryrefslogtreecommitdiffstats
path: root/man3type/itimerspec.3type
blob: 5d645e2f7fdb6a1c7c47a9162f7083badc91e16f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.\" Copyright (c) 2022 by Alejandro Colomar <alx@kernel.org>
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.\"
.TH itimerspec 3type (date) "Linux man-pages (unreleased)"
.SH NAME
timespec \- interval for a timer with nanosecond precision
.SH LIBRARY
Standard C library
.RI ( libc )
.SH SYNOPSIS
.EX
.B #include <time.h>
.PP
.B struct itimerspec {
.BR "    struct timespec  it_interval;" "  /* Interval for periodic timer */"
.BR "    struct timespec  it_value;" "     /* Initial expiration */"
.B };
.EE
.SH DESCRIPTION
Describes the initial expiration of a timer,
and its interval,
in seconds and nanoseconds.
.SH STANDARDS
Linux.
.SH NOTES
The following header also provides this type:
.IR <sys/timerfd.h> .
.SH SEE ALSO
.BR timerfd_create (2),
.BR timer_settime (2),
.BR timespec (3type)