Contains a time interval and an expiration interval.
#include <time.h>
typedef struct itimerspec
{
struct timespec it_interval;
struct timespec it_value;
} itimerspec_t;
Specifies a timer period. For information about the timespec structure, see timespec_t, which is also called timespec.
Specifies when the timer expires. For information about the timespec structure, see timespec_t, which is also called timespec.