osfmk/man/tvalspec.html
Structure - Defines format of system time values.
**struct tvalspec**** { ****unsigned int** tv\_sec **;**** clock\_res\_t **tv\_nsec** ; ****};**** typedef struct tvalspec tvalspec\_t;**
tv_secSeconds.
tv_nsecNanoseconds.
The tvalspec structure defines the format of the time structure supplied to or returned from the kernel. This definition conforms to the Posix 1003.4 timespec definition where the tv_nsec structure member is valid if (0 =< tv_nsec < 109) and the time period described is ((tv_sec * 109) + tv_nsec) nanoseconds.
Functions: clock_get_time, clock_set_time, clock_sleep, clock_alarm, clock_alarm_reply.
Data Structures: mapped_tvalspec.