|
ginnOS
The reference: libc, the libraries and the kernel
|
restart or turn off the machine (root only), as on Linux. More...
Go to the source code of this file.
Macros | |
| #define | RB_AUTOBOOT 0x01234567 |
| #define | RB_POWER_OFF 0x4321FEDC |
Functions | |
| int | reboot (int how) |
| restart or turn off the machine. | |
restart or turn off the machine (root only), as on Linux.
| #define RB_AUTOBOOT 0x01234567 |
| #define RB_POWER_OFF 0x4321FEDC |
| int reboot | ( | int | how | ) |
restart or turn off the machine.
| how | RB_AUTOBOOT or RB_POWER_OFF. |