Go to the first, previous, next, last section, table of contents.


Host Reboot

Function: kern_return_t host_reboot (mach_port_t host_priv, int options)
Reboot the host specified by host_priv. The argument options specifies the flags. The available flags are specified in `sys/reboot.h':

RB_HALT
Do not reboot, but halt the machine.
RB_DEBUGGER
Do not reboot, but enter kernel debugger from user space.

If successful, the function might not return.


Go to the first, previous, next, last section, table of contents.