1 <h2>tvalspec
</h2>
<hr>
<p>
<strong>Structure
</strong> - Defines format of system time values.
<h3>SYNOPSIS
</h3>
<pre>
<strong>struct tvalspec
</strong>
<strong>{
</strong>
<strong>unsigned int
</strong> <var>tv_sec
</var><strong>;
</strong>
<strong>clock_res_t
</strong> <var>tv_nsec
</var><strong>;
</strong>
<strong>};
</strong>
<strong>typedef struct tvalspec tvalspec_t;
</strong>
</pre>
<h3>FIELDS
</h3>
<dl>
<dt> <var>tv_sec
</var>
<dd>
Seconds.
<p>
<dt> <var>tv_nsec
</var>
<dd>
Nanoseconds.
</dl>
<h3>DESCRIPTION
</h3>
<p>
The
<strong>tvalspec
</strong> structure defines the format of the time
structure supplied to or
returned from the kernel. This definition conforms to the Posix
1003.4 <var>timespec
</var>
definition where the
<var>tv_nsec
</var> structure member is valid
if (
0 =<
<var>tv_nsec
</var> <
109) and
the time period described is ((
<var>tv_sec
</var> *
109) +
<var>tv_nsec
</var>) nanoseconds.
<h3>RELATED INFORMATION
</h3>
<p>
Functions:
<a href=
"clock_get_time.html"><strong>clock_get_time
</strong></a>,
<a href=
"clock_set_time.html"><strong>clock_set_time
</strong></a>,
<a href=
"clock_sleep.html"><strong>clock_sleep
</strong></a>,
<a href=
"clock_alarm.html"><strong>clock_alarm
</strong></a>,
<a href=
"clock_alarm_reply.html"><strong>clock_alarm_reply
</strong></a>.
<p>
Data Structures:
<a href=
"mapped_tvalspec.html"><strong>mapped_tvalspec
</strong></a>.