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


4.18.2 Data structure struct-timespec

Structure Type: struct-timespec

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

tv_sec

Exact integer, represents a count of seconds.

tv_nsec

Exact integer, represents a count of nanoseconds.

Function: make-struct-timespec sec usec

Build and return a new instance of struct-timespec.

Function: struct-timespec? obj

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

Function: struct-timespec-tv_sec timespec
Function: struct-timespec-tv_nsec timespec

Accessors for the fields of struct-timespec.