]> git.saurik.com Git - apple/xnu.git/blame_incremental - osfmk/man/host_adjust_time.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / host_adjust_time.html
... / ...
CommitLineData
1<h2>host_adjust_time</h2>
2<hr>
3<p>
4<strong>Function</strong> - Gradually change the time.
5<h3>SYNOPSIS</h3>
6<pre>
7<strong>#include&lt mach/mach_host.h&gt</strong>
8
9<strong>kern_return_t host_adjust_time</strong>
10 <strong>(host_priv_t</strong> <var>host_priv</var>,
11 <strong>time_value_t</strong> <var>new_adjustment</var>,
12 <strong>time_value_t</strong> <var>old_adjustment</var><strong>);</strong>
13</pre>
14<h3>PARAMETERS</h3>
15<dl>
16<p>
17<dt> <var>host_priv</var>
18<dd>
19[in host-control port] The control port the host for which the time is to be set.
20<p>
21<dt> <var>new_adjustment</var>
22<dd>
23[in structure] New adjustment value.
24<p>
25<dt> <var>old_adjustment</var>
26<dd>
27[out structure] Old adjustment value.
28</dl>
29<h3>DESCRIPTION</h3>
30<p>
31The <strong>host_adjust_time</strong> function arranges for the time on a specified host to be gradually changed by an adjustment value.
32<h3>RETURN VALUES</h3>
33<p>
34Only generic errors apply.
35<h3>RELATED INFORMATION</h3>
36<p>
37Functions:
38<a href="host_get_time.html"><strong>host_get_time</strong></a>,
39<a href="host_set_time.html"><strong>host_set_time</strong></a>.
40<p>
41Data Structures:
42time_value.