host_kernel_version.html   [plain text]

<strong>Function</strong> - Return kernel version information for a host.
<strong>kern_return_t   host_kernel_version</strong>
                <strong>(host_t</strong>                                    <var>host</var>,
                 <strong>kernel_version_t</strong>                       <var>version</var><strong>);</strong>
<dt> <var>host</var> 
[in host-name send right]
The name (or control) port for the host for 
which information is to be obtained.
<dt> <var>version</var> 
[out array of <var>char</var>]
Character string describing the kernel version
executing on <var>host</var>.
The <strong>host_kernel_version</strong> function returns the version
string compiled into the 
kernel executing on <var>host</var> at the time it was built.  This describes
the version of the kernel.  The constant <strong>KERNEL_VERSION_MAX</strong> (in 
should be used to dimension storage for the returned string if the
<var>kernel_version_t</var> declaration is not used.
Only generic errors apply.
<a href="host_info.html"><strong>host_info</strong></a>.