wdrtas_get_tokens(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 0 on success πŸŽ‰
  • returns <0 on 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 πŸ’œ:


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