wdrtas_get_tokens(9)
π wdrtas_get_tokens β NAME π
ok so bestie, welcome to the Kernel API Manual β¨ β this one's called wdrtas_get_tokens, and it literally reads in RTAS tokens. that's the whole vibe. π
πΈ SYNOPSIS πΈ
int wdrtas_get_tokens (void );
like, no cap, that's the whole signature. she's simple, she's iconic. π
π¦ ARGUMENTS π¦
voidβ no arguments. zero. nada. she takes nothing and she gives everything, periodt. π
β¨ DESCRIPTION β¨
okay so here's the tea β β wdrtas_get_tokens reads in the tokens for the RTAS calls that this watchdog driver uses. think of it as her doing a little vibe check on the firmware before the party starts. π₯
and the return sitch:
- returns
0on success π - returns
<0on failure π
but like, she's not gonna be dramatic about missing stuff β she tolerates it if "get-sensor-state" and "ibm,get-system-parameter" are not available. so if those two don't show up, she's not gonna spiral, she just keeps it moving. π«Ά
ngl bestie, that tolerance bit is the main character energy of this whole function β remember it. π
π SEE ALSO π
go read these next, iykyk π:
- 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_temperature(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_unregister_devs(9)wdrtas_register_devs(9)wdrtas_init(9)wdrtas_exit(9)
and that's the page!! πβ¨ brought to you from ./drivers/watchdog, dated October 2026, and yeah β this is wdrtas_get_tokens(9), signing off ππ¦π
π¦ 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