4 <strong>Function
</strong> - Sets the time.
7 <strong>#include< mach/mach_host.h>
</strong>
9 <strong>kern_return_t host_set_time
</strong>
10 <strong>(host_priv_t
</strong> <var>host_priv
</var>,
11 <strong>time_value_t
</strong> <var>new_time
</var><strong>);
</strong>
16 <dt> <var>host_priv
</var>
18 [in host-control port] The control port for the host for which the time is to be set.
20 <dt> <var>new_time
</var>
22 [in structure] Time to be set.
26 The
<strong>host_set_time
</strong> function establishes the time on the specified host.
27 <h3>RETURN VALUES
</h3>
29 Only generic errors apply.
30 <h3>RELATED INFORMATION
</h3>
33 <a href=
"host_adjust_time.html"><strong>host_adjust_time
</strong></a>,
34 <a href=
"host_get_time.html"><strong>host_get_time
</strong></a>.