Back to Darwin Xnu

Host Reboot

osfmk/man/host_reboot.html

latest535 B
Original Source

host_reboot


Function - Reboot this host.

SYNOPSIS

**kern\_return\_t host\_reboot**** (host\_priv\_t **host\_priv,** int **options** );**

PARAMETERS

host_priv[in host-control send right] The control port the host to be re-booted.

options[in scalar] Reboot options. See *L*O for details.

DESCRIPTION

The host_reboot function reboots the specified host.

NOTES

If successful, this call will not return.

RETURN VALUES

Only generic errors apply.

None.