Next: , Up: posix time   [Index]


4.18.1 Data structure struct-timeval

Structure Type: struct-timeval

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

tv_sec

Exact integer, represents a count of seconds.

tv_usec

Exact integer, represents a count of microseconds.

Function: make-struct-timeval sec usec

Build and return a new instance of struct-timeval.

Function: struct-timeval? obj

Return #t if obj is an instance of struct-timeval.

Function: struct-timeval-tv_sec timeval
Function: struct-timeval-tv_usec timeval

Accessors for the fields of struct-timeval.