1 <h2>clock_get_time
</h2>
4 <strong>Function
</strong> - Return the current time.
7 <strong>kern_return_t clock_get_time
</strong>
8 <strong>(clock_t
</strong> <var>clock_name
</var>,
9 <strong>tvalspec_t
</strong> <var>cur_time
</var><strong>);
</strong>
14 <dt> <var>clock_name
</var>
16 [in clock-name send right]
17 The name (or control) port for the clock.
19 <dt> <var>cur_time
</var>
26 The
<strong>clock_get_time
</strong> function returns the current time
28 value returned is a monotonically increasing value (unless tampered
30 <strong>clock_set_time
</strong> function).
31 <h3>RETURN VALUES
</h3>
33 Only generic errors apply.
34 <h3>RELATED INFORMATION
</h3>
37 <a href=
"host_get_clock_service.html"><strong>host_get_clock_service
</strong></a>,
38 <a href=
"clock_get_attributes.html"><strong>clock_get_attributes
</strong></a>,
39 <a href=
"clock_map_time.html"><strong>clock_map_time
</strong></a>,
40 <a href=
"clock_sleep.html"><strong>clock_sleep
</strong></a>,
41 <a href=
"clock_alarm.html"><strong>clock_alarm
</strong></a>,
42 <a href=
"clock_set_time.html"><strong>clock_set_time
</strong></a>.
45 <a href=
"tvalspec.html"><strong>tvalspec
</strong></a>.