orderly_poweroff(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ orderly_poweroff(9) β€” NAME πŸŽ€

hey bestie, welcome to orderly_poweroff(9) from the Kernel API Manual. This lil function is here to trigger an orderly system poweroff β€” like, bye-bye system, but the polite way first. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

void orderly_poweroff (bool force );

🌸 ARGUMENTS 🌸

  • force β€” force poweroff if command execution fails. That's the whole vibe: if running the command doesn't work out, this is the "fine, force it" switch. πŸ’…

πŸ’– DESCRIPTION πŸ’–

Ok so here's the tea: you can call this from any context to trigger a system shutdown. No cap, any context. 🫢

And if the orderly shutdown fails? It will force an immediate shutdown. Like, it's not just gonna sit there and shrug β€” it goes straight to immediate mode. 😭πŸ”₯

πŸ’€ tiny dramatic reminder: the forced immediate shutdown is the fallback when the orderly shutdown fails. That's literally in the name, bestie.

🌈 SEE ALSO 🌈

The kernel file ./kernel/reboot.c is the home base for this whole friend group, and the squad is:


mwah πŸ’‹ source/version check: ./kernel; date: October 2026; page tag: orderly_poweroff(9). bye bestie, go reboot responsibly 🫢✨

πŸ“¦ where this page comes from