]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/host_get_boot_info.html
xnu-792.6.76.tar.gz
[apple/xnu.git] / osfmk / man / host_get_boot_info.html
CommitLineData
13fec989
A
1<h2>host_get_boot_info</h2>
2<hr>
3<p>
4<strong>Function</strong> - Return operator boot information.
5<h3>SYNOPSIS</h3>
6<pre>
7<strong>kern_return_t host_get_boot_info</strong>
8 <strong>(host_priv_t</strong> <var>priv_host</var>,
9 <strong>kernel_boot_info_t</strong> <var>boot_info</var><strong>);</strong>
10</pre>
11<h3>PARAMETERS</h3>
12<dl>
13<p>
14<dt> <var>priv_host</var>
15<dd>
16[in host-control send right]
17The control port for the host for which
18information is to be obtained.
19<p>
20<dt> <var>boot_info</var>
21<dd>
22[out array of char]
23Character string providing the operator boot info
24</dl>
25<h3>DESCRIPTION</h3>
26<p>
27The <strong>host_get_boot_info</strong> function returns the boot-time information
28string supplied by the operator when <var>priv_host</var> was initialized.
29The constant <strong>KERNEL_BOOT_INFO_MAX</strong> (in \*L<mach/host_info.h>\*O)
30should be used to dimension storage for the returned string.
31<h3>RETURN VALUES</h3>
32<p>
33Only generic errors apply.
34<h3>RELATED INFORMATION</h3>
35<p>
36Functions:
37<a href="host_info.html"><strong>host_info</strong></a>.