itimerspec

Contains a time interval and an expiration interval.

Service:Time

Syntax

  #include <time.h>
  
  typedef struct itimerspec
  {
     struct timespec   it_interval;
     struct timespec   it_value;
  } itimerspec_t;
  

Fields

it_interval

Specifies a timer period. For information about the timespec structure, see timespec_t, which is also called timespec.

it_value

Specifies when the timer expires. For information about the timespec structure, see timespec_t, which is also called timespec.