Back to Darwin Xnu

Host Get Boot Info

osfmk/man/host_get_boot_info.html

latest817 B
Original Source

host_get_boot_info


Function - Return operator boot information.

SYNOPSIS

**kern\_return\_t host\_get\_boot\_info**** (host\_priv\_t **priv\_host,** kernel\_boot\_info\_t **boot\_info** );**

PARAMETERS

priv_host[in host-control send right] The control port for the host for which information is to be obtained.

boot_info[out array of char] Character string providing the operator boot info

DESCRIPTION

The host_get_boot_info function returns the boot-time information string supplied by the operator when priv_host was initialized. The constant KERNEL_BOOT_INFO_MAX (in *L*O) should be used to dimension storage for the returned string.

RETURN VALUES

Only generic errors apply.

Functions: host_info.