unregister_reboot_notifier(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– this is unregister_reboot_notifier(9) from the Kernel API Manual β€” manual name folded in right here like a lil bow πŸŽ€. we're unregistering a reboot notifier and it's lowkey iconic.

✨ NAME ✨

  • unregister_reboot_notifier β€” unregister a reboot notifier that was previously registered πŸ’…

🌸 SYNOPSIS 🌸

int unregister_reboot_notifier (struct notifier_block *nb );

πŸŽ€ ARGUMENTS πŸŽ€

  • nb β€” the hook to be unregistered 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function unregisters a reboot notifier function that was registered earlier. like, taking the lil hook back out of the reboot-notifier situation. no cap.

it returns zero on success, or -ENOENT on failure 😭. that's the whole mood.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./kernel/reboot.c β€” go look, bestie πŸ‘€


okay bye bestie 🫢 this page is from ./kernel, dated October 2026, and it's literally unregister_reboot_notifier(9). periodt πŸ’…

πŸ“¦ where this page comes from