summaryrefslogblamecommitdiffstats
path: root/man/man3type/itimerspec.3type
blob: d6413d2188775e895c690fc386aaa1b692488be8 (plain) (tree)
1
2
3
4
5
6
7
8
                                                            



                                                     
                                                          
        
                                                            



                  
   
                    
  



                                                                             
   




                                            


             



                       
.\" 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
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)