4 <strong>Structure
</strong> - Defines format of system time values.
7 <strong>struct tvalspec
</strong>
9 <strong>unsigned int
</strong> <var>tv_sec
</var><strong>;
</strong>
10 <strong>clock_res_t
</strong> <var>tv_nsec
</var><strong>;
</strong>
13 <strong>typedef struct tvalspec tvalspec_t;
</strong>
17 <dt> <var>tv_sec
</var>
21 <dt> <var>tv_nsec
</var>
27 The
<strong>tvalspec
</strong> structure defines the format of the time
28 structure supplied to or
29 returned from the kernel. This definition conforms to the Posix
30 1003.4 <var>timespec
</var>
31 definition where the
<var>tv_nsec
</var> structure member is valid
32 if (
0 =<
<var>tv_nsec
</var> <
109) and
33 the time period described is ((
<var>tv_sec
</var> *
109) +
<var>tv_nsec
</var>) nanoseconds.
34 <h3>RELATED INFORMATION
</h3>
37 <a href=
"clock_get_time.html"><strong>clock_get_time
</strong></a>,
38 <a href=
"clock_set_time.html"><strong>clock_set_time
</strong></a>,
39 <a href=
"clock_sleep.html"><strong>clock_sleep
</strong></a>,
40 <a href=
"clock_alarm.html"><strong>clock_alarm
</strong></a>,
41 <a href=
"clock_alarm_reply.html"><strong>clock_alarm_reply
</strong></a>.
44 <a href=
"mapped_tvalspec.html"><strong>mapped_tvalspec
</strong></a>.