Next: , Previous: , Up: posix time   [Index]


4.18.5 Data structure struct-itimerval

Structure representing interval timer values (ITimerVal).

Structure Type: struct-itimerval

Scheme level representation of struct itimerval, (libc)struct itimerval. It has the following fields:

it_interval

An instance of struct-timeval representing the period between successive timer interrupts.

it_value

An instance of struct-timeval representing the time interval between now and the first timer interrupt.

Function: make-struct-itimerval
Function: make-struct-itimerval interval value

Build and return a new instance of struct-itimerval. When called with no arguments: two new instances of struct-timeval are allocated and initialised to zero values, then used as field values.

Function: struct-itimerval? obj

Return true if obj is an instance of struct-itimerval.

Function: struct-itimerval-it_interval itimerval
Function: struct-itimerval-it_value itimerval

Accessors for the fields of struct-itimerval.