3 reboot \- close down the system or reboot
7 #define _MINIX_SOURCE 1
11 int reboot(int \fIhow\fP, ...)
16 is used to close down the system. It allows several ways of shutting
21 .BI "reboot(RBT_HALT)"
22 Halt the system and return to the monitor prompt.
24 .BI "reboot(RBT_REBOOT)"
25 Reboot the system by letting the monitor execute the "boot" command.
27 .BI "reboot(RBT_PANIC)"
28 Cause a system panic. This is not normally done from user mode, but by
33 .BI "reboot(RBT_MONITOR" ", code, length" ")"
34 Halt the system and let the monitor execute the given code of the given
44 .BI "reboot(RBT_RESET)"
45 Reboot the system with a hardware reset.
48 may only be executed by the super-user.
50 If the call succeeds, it never returns. If something went wrong,
51 the return value is -1 and an error is indicated by
59 MINIX 3 can not return to the monitor if running in real mode. This means
60 that most of the reboot functions will change to a system reset.
62 Edvard Tuinder (v892231@si.hhs.NL)