]>
Commit | Line | Data |
---|---|---|
9bccf70c | 1 | <h2>host_set_time</h2>\r<hr>\r<p>\r<strong>Function</strong> - Sets the time.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>#include< mach/mach_host.h></strong>\r\r<strong>kern_return_t host_set_time</strong>\r <strong>(host_priv_t</strong> <var>host_priv</var>,\r <strong>time_value_t</strong> <var>new_time</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 for the host for which the time is to be set.\r<p>\r<dt> <var>new_time</var>\r<dd>\r[in structure] Time to be set.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>host_set_time</strong> function establishes the time on the specified host.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="host_adjust_time.html"><strong>host_adjust_time</strong></a>,\r<a href="host_get_time.html"><strong>host_get_time</strong></a>.\r<p>\rData Structures:\rtime_value.\r |