host_adjust_time.html   [plain text]


<h2>host_adjust_time</h2>
<hr>
<p>
<strong>Function</strong> - Gradually change the time.
<h3>SYNOPSIS</h3>
<pre>
<strong>#include&lt mach/mach_host.h&gt</strong>

<strong>kern_return_t   host_adjust_time</strong>
                <strong>(host_priv_t</strong>                          <var>host_priv</var>,
                 <strong>time_value_t</strong>                    <var>new_adjustment</var>,
                 <strong>time_value_t</strong>                    <var>old_adjustment</var><strong>);</strong>
</pre>
<h3>PARAMETERS</h3>
<dl>
<p>
<dt> <var>host_priv</var>
<dd>
[in host-control port] The control port the host for which the time is to be set.
<p>
<dt> <var>new_adjustment</var>
<dd>
[in structure] New adjustment value.
<p>
<dt> <var>old_adjustment</var>
<dd>
[out structure] Old adjustment value.
</dl>
<h3>DESCRIPTION</h3>
<p>
The <strong>host_adjust_time</strong> function arranges for the time on a specified host to be gradually changed by an adjustment value.
<h3>RETURN VALUES</h3>
<p>
Only generic errors apply.
<h3>RELATED INFORMATION</h3>
<p>
Functions:
<a href="host_get_time.html"><strong>host_get_time</strong></a>,
<a href="host_set_time.html"><strong>host_set_time</strong></a>.
<p>
Data Structures:
time_value.