LibC
, LibC
, LibCAPI
, SystemB
public interface Reboot
Contains definitions related to the reboot
API
Felder
static final int
Perform a hard reset now.
static final int
Disable reboot using Ctrl-Alt-Delete keystroke.
static final int
Enable reboot using Ctrl-Alt-Delete keystroke.
static final int
static final int
Reboot system into new kernel.
static final int
Stop system and switch power off if possible.
static final int
Suspend system using software suspend.
int
Stops/Reboots the machine
static final int RB_AUTOBOOT
Perform a hard reset now.
static final int RB_HALT_SYSTEM
static final int RB_ENABLE_CAD
Enable reboot using Ctrl-Alt-Delete keystroke.
static final int RB_DISABLE_CAD
Disable reboot using Ctrl-Alt-Delete keystroke.
static final int RB_POWER_OFF
Stop system and switch power off if possible.
static final int RB_SW_SUSPEND
Suspend system using software suspend.
static final int RB_KEXEC
Reboot system into new kernel.
int reboot(int cmd)
Stops/Reboots the machine
cmd
- The command
errno
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4