diff options
Diffstat (limited to 'man/man3type/itimerspec.3type')
-rw-r--r-- | man/man3type/itimerspec.3type | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/man/man3type/itimerspec.3type b/man/man3type/itimerspec.3type new file mode 100644 index 0000000..8f43d7b --- /dev/null +++ b/man/man3type/itimerspec.3type @@ -0,0 +1,32 @@ +.\" Copyright (c) 2022 by Alejandro Colomar <alx@kernel.org> +.\" +.\" SPDX-License-Identifier: Linux-man-pages-copyleft +.\" +.\" +.TH itimerspec 3type 2024-05-02 "Linux man-pages (unreleased)" +.SH NAME +itimerspec \- interval for a timer with nanosecond precision +.SH LIBRARY +Standard C library +.RI ( libc ) +.SH SYNOPSIS +.EX +.B #include <time.h> +.P +.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 +POSIX.1-2008. +.SH HISTORY +POSIX.1-2001. +.SH SEE ALSO +.BR timerfd_create (2), +.BR timer_settime (2), +.BR timespec (3type) |