]>
Commit | Line | Data |
---|---|---|
9bccf70c | 1 | <h2>host_adjust_time</h2>\r<hr>\r<p>\r<strong>Function</strong> - Gradually change the time.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>#include< mach/mach_host.h></strong>\r\r<strong>kern_return_t host_adjust_time</strong>\r <strong>(host_priv_t</strong> <var>host_priv</var>,\r <strong>time_value_t</strong> <var>new_adjustment</var>,\r <strong>time_value_t</strong> <var>old_adjustment</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>host_priv</var>\r<dd>\r[in host-control port] The control port the host for which the time is to be set.\r<p>\r<dt> <var>new_adjustment</var>\r<dd>\r[in structure] New adjustment value.\r<p>\r<dt> <var>old_adjustment</var>\r<dd>\r[out structure] Old adjustment value.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>host_adjust_time</strong> function arranges for the time on a specified host to be gradually changed by an adjustment value.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="host_get_time.html"><strong>host_get_time</strong></a>,\r<a href="host_set_time.html"><strong>host_set_time</strong></a>.\r<p>\rData Structures:\rtime_value.\r |