wdrtas_get_temperature(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the wdrtas_get_temperature(9) page from the Kernel API Manual πŸ’– this is the little group chat where the kernel tells you how warm it is.

✨ NAME ✨

wdrtas_get_temperature β€” returns current temperature 🌑️✨

🌸 SYNOPSIS 🌸

int wdrtas_get_temperature (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments 🫢 like, none. zero. the void is voiding.

πŸ’… DESCRIPTION πŸ’…

okay so wdrtas_get_temperature returns the current temperature in Fahrenheit πŸ”₯. it does this with the RTAS call get-sensor-state, token 3 β€” that's the whole little ritual, bestie.

and the official vibe is: returns temperature or <0 on failures 😭 so a normal temperature is the slay outcome, and anything less than zero is the failure era. no cap.

it's giving "small function, very specific job" and honestly we respect it πŸ‘‘βœ¨

πŸ¦‹ SEE ALSO πŸ¦‹

cute sign-off: this page lives under source ./drivers/watchdog, dated October 2026, and it is literally wdrtas_get_temperature(9) πŸŽ€πŸ’œ

πŸ“¦ where this page comes from