wdrtas_get_temperature(9)
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 π¦
- Kernel file
./drivers/watchdog/wdrtas.cπ wdrtas_set_interval(9)wdrtas_get_interval(9)wdrtas_timer_start(9)wdrtas_timer_stop(9)wdrtas_timer_keepalive(9)wdrtas_get_status(9)wdrtas_get_boot_status(9)wdrtas_ioctl(9)wdrtas_open(9)wdrtas_close(9)wdrtas_temp_read(9)wdrtas_temp_open(9)wdrtas_temp_close(9)wdrtas_reboot(9)wdrtas_get_tokens(9)wdrtas_unregister_devs(9)wdrtas_register_devs(9)wdrtas_init(9)wdrtas_exit(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms