]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/man/host_set_time.html
xnu-792.6.76.tar.gz
[apple/xnu.git] / osfmk / man / host_set_time.html
index cbe6cf580422aa768599f1d74d00810b39ce4596..45ad2019a4d6fdba40694015e9e12e43b088a624 100755 (executable)
@@ -1 +1,37 @@
-<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&lt mach/mach_host.h&gt</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
\ No newline at end of file
+<h2>host_set_time</h2>
+<hr>
+<p>
+<strong>Function</strong> - Sets the time.
+<h3>SYNOPSIS</h3>
+<pre>
+<strong>#include&lt mach/mach_host.h&gt</strong>
+
+<strong>kern_return_t   host_set_time</strong>
+                <strong>(host_priv_t</strong>                          <var>host_priv</var>,
+                 <strong>time_value_t</strong>                          <var>new_time</var><strong>);</strong>
+</pre>
+<h3>PARAMETERS</h3>
+<dl>
+<p>
+<dt> <var>host_priv</var>
+<dd>
+[in host-control port] The control port for the host for which the time is to be set.
+<p>
+<dt> <var>new_time</var>
+<dd>
+[in structure] Time to be set.
+</dl>
+<h3>DESCRIPTION</h3>
+<p>
+The <strong>host_set_time</strong> function establishes the time on the specified host.
+<h3>RETURN VALUES</h3>
+<p>
+Only generic errors apply.
+<h3>RELATED INFORMATION</h3>
+<p>
+Functions:
+<a href="host_adjust_time.html"><strong>host_adjust_time</strong></a>,
+<a href="host_get_time.html"><strong>host_get_time</strong></a>.
+<p>
+Data Structures:
+time_value.