wdrtas_get_boot_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, you found the wdrtas_get_boot_status(9) page from the Kernel API Manual ✨ it's short, it's iconic, and every fact is staying right here, no cap πŸ’–

πŸ’– NAME πŸ’–

wdrtas_get_boot_status β€” returns the reason for the last boot 🫢

✨ SYNOPSIS ✨

int wdrtas_get_boot_status (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments, bestie. Not a single one. It's giving "takes nothing" energy πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

So this function returns a bitmask of defines WDIOF_... β€” yes, the WDIOF_... defines, exactly β€” as defined in include/linux/watchdog.h πŸ“βœ¨. That bitmask indicates why the watchdog rebooted the system πŸ‘€πŸ”₯. That's the whole vibe check.

🌸 SEE ALSO 🌸

Kernel file: ./drivers/watchdog/wdrtas.c β€” that's the source file, bestie 🧚. And here's the whole squad of references:


mwah πŸ’‹ source/version says ./drivers/watchdog, the date is October 2026, and this page is wdrtas_get_boot_status(9) β€” periodt πŸŽ€

πŸ“¦ where this page comes from