4 <strong>Function
</strong> - Return the current time.
7 <strong>#include< mach/mach_host.h>
</strong>
9 <strong>kern_return_t host_get_time
</strong>
10 <strong>(host_t
</strong> <var>host
</var>,
11 <strong>time_value_t
</strong> <var>current_time
</var><strong>);
</strong>
18 [in host-name port] The name port the host for which the time is to be set.
20 <dt> <var>current_time
</var>
22 [out structure] Returned time value.
26 The
<strong>host_get_time
</strong> function returns the current time
27 as seen by that
<var>host
</var>.
28 <h3>RETURN VALUES
</h3>
30 Only generic errors apply.
31 <h3>RELATED INFORMATION
</h3>
34 <a href=
"host_adjust_time.html"><strong>host_adjust_time
</strong></a>,
35 <a href=
"host_set_time.html"><strong>host_set_time
</strong></a>.