]> git.saurik.com Git - apple/xnu.git/blob - osfmk/man/host_reboot.html
xnu-792.24.17.tar.gz
[apple/xnu.git] / osfmk / man / host_reboot.html
1 <h2>host_reboot</h2>
2 <hr>
3 <p>
4 <strong>Function</strong> - Reboot this host.
5 <h3>SYNOPSIS</h3>
6 <pre>
7 <strong>kern_return_t host_reboot</strong>
8 <strong>(host_priv_t</strong> <var>host_priv</var>,
9 <strong>int</strong> <var>options</var><strong>);</strong>
10 </pre>
11 <h3>PARAMETERS</h3>
12 <dl>
13 <p>
14 <dt> <var>host_priv</var>
15 <dd>
16 [in host-control send right]
17 The control port the host to be re-booted.
18 <p>
19 <dt> <var>options</var>
20 <dd>
21 [in scalar]
22 Reboot options. See \*L<mach/host_reboot.h>\*O for details.
23 </dl>
24 <h3>DESCRIPTION</h3>
25 <p>
26 The <strong>host_reboot</strong> function reboots the specified host.
27 <h3>NOTES</h3>
28 <p>
29 If successful, this call will not return.
30 <h3>RETURN VALUES</h3>
31 <p>
32 Only generic errors apply.
33 <h3>RELATED INFORMATION</h3>
34 <p>
35 None.