table of contents
ORDERLY_POWEROFF(9) | Driver Basics | ORDERLY_POWEROFF(9) |
NAME¶
orderly_poweroff - Trigger an orderly system poweroff
SYNOPSIS¶
void orderly_poweroff(bool force);
ARGUMENTS¶
force
force poweroff if command execution fails
DESCRIPTION¶
This may be called from any context to trigger a system shutdown. If the orderly shutdown fails, it will force an immediate shutdown.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |