unregister_...rm_power_off(9)
π
unregister_platform_power_off β fresh from the Kernel API Manual β¨
πΈ NAME πΈ
unregister_platform_power_off β Unregister platform-level power-off callback. Thatβs the name, bestie, and it understood the assignment. π«Ά
π¦ SYNOPSIS π¦
the signature, verbatim, no edits:
void unregister_platform_power_off (void (*power_off)(void) );
π ARGUMENTS π
power_offβ Power-off callback. Thatβs it. Thatβs the argument. π
β¨ DESCRIPTION β¨
Okay so: this one unregisters previously registered platform power-off callback. Itβs giving βundo button for a callback that already got registered,β and that is literally the whole description. No cap. π¦
π SEE ALSO π
Kernel file ./kernel/reboot.c is the source home, and the whole reboot/power-off friend group is linked here:
emergency_restart(9)register_reboot_notifier(9)unregister_reboot_notifier(9)register_restart_handler(9)unregister_restart_handler(9)do_kernel_restart(9)kernel_restart(9)kernel_halt(9)register_sys_off_handler(9)unregister_sys_off_handler(9)devm_register_sys_off_handler(9)devm_register_power_off_handler(9)devm_register_restart_handler(9)register_platform_power_off(9)do_kernel_power_off(9)kernel_can_power_off(9)kernel_power_off(9)orderly_poweroff(9)orderly_reboot(9)hw_failure_emergency_action_func(9)hw_failure_emergency_schedule(9)__hw_protection_trigger(9)
Signed, sealed, and shipped from the ./kernel source β October 2026 edition, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms