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_DEFAULT)"
22 Default shut-down action, the same as used when CTRL+ALT+DEL is pressed
25 .BI "reboot(RBT_HALT)"
28 .BI "reboot(RBT_PANIC)"
29 Cause a system panic. This is not normally done from user mode, but by
34 .BI "reboot(RBT_POWEROFF)"
35 Power off the system if possible, reset otherwise.
37 .BI "reboot(RBT_REBOOT)"
38 Reboot the system with a software reset (currently not supported, so
39 a hardware reset is used).
41 .BI "reboot(RBT_RESET)"
42 Reboot the system with a hardware reset.
45 may only be executed by the super-user.
47 If the call succeeds, it never returns. If something went wrong,
48 the return value is -1 and an error is indicated by
56 Edvard Tuinder (v892231@si.hhs.NL)