X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/host_kernel_version.html diff --git a/osfmk/man/host_kernel_version.html b/osfmk/man/host_kernel_version.html index 00d7f9e46..cd8ad1607 100755 --- a/osfmk/man/host_kernel_version.html +++ b/osfmk/man/host_kernel_version.html @@ -1 +1,41 @@ -

host_kernel_version


Function - Return kernel version information for a host.

SYNOPSIS

kern_return_t   host_kernel_version
                (host_t                                    host,
                 kernel_version_t                       version);

PARAMETERS

host
[in host-name send right] The name (or control) port for the host for which information is to be obtained.

version
[out array of char] Character string describing the kernel version executing on host.

DESCRIPTION

The host_kernel_version function returns the version string compiled into the kernel executing on host at the time it was built. This describes the version of the kernel. The constant KERNEL_VERSION_MAX (in \*L\*O) should be used to dimension storage for the returned string if the kernel_version_t declaration is not used.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: host_info. \ No newline at end of file +

host_kernel_version

+
+

+Function - Return kernel version information for a host. +

SYNOPSIS

+
+kern_return_t   host_kernel_version
+                (host_t                                    host,
+                 kernel_version_t                       version);
+
+

PARAMETERS

+
+

+

host +
+[in host-name send right] +The name (or control) port for the host for +which information is to be obtained. +

+

version +
+[out array of char] +Character string describing the kernel version +executing on host. +
+

DESCRIPTION

+

+The host_kernel_version function returns the version +string compiled into the +kernel executing on host at the time it was built. This describes +the version of the kernel. The constant KERNEL_VERSION_MAX (in +\*L\*O) +should be used to dimension storage for the returned string if the +kernel_version_t declaration is not used. +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +host_info.