emergency_restart(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so emergency_restart is literally the β€œreboot the system” function, bestie β€” and this is the emergency_restart(9) page in the Kernel API Manual. It’s giving emergency main character energy. πŸ’…


✨ SYNOPSIS ✨

void emergency_restart (void );

that’s the whole signature, no cap. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. zero. nada. nothing to pass in, bestie. πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

When you call this, it reboots the system without shutting down any hardware or taking any locks. It’s the β€œwe know we’re in trouble” move, so this is the best effort to reboot. And yes: it is safe to call in interrupt context. Slay for emergency code, honestly. πŸ”₯

🌈 SEE ALSO 🌈

bestie, the cross-reference list is long and iconic β€” no skipping, fr fr:


and that’s the page, bestie! source/version corner: ./kernel; date: October 2026; manual: emergency_restart(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from