wdrtas_set_interval(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– wdrtas_set_interval(9) πŸ’–

okay so real quick β€” this page lives in the Kernel API Manual and it's all about one tiny little function that pokes the watchdog timer. stay with me bestie, it's short and it slays. πŸŽ€


✨ NAME ✨

wdrtas_set_interval β€” sets the watchdog interval. that's it. that's the whole gig. πŸ’…


🌸 SYNOPSIS 🌸

int wdrtas_set_interval (int interval );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • interval β€” the new interval, bestie. the fresh one. the one we're setting. no cap.

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the vibe check: wdrtas_set_interval sets the watchdog keepalive interval by calling the RTAS function set-indicator (surveillance). the way it just… delegates. iconic. πŸ‘‘

and the unit of interval? seconds. literally seconds. don't come at it with milliseconds, it will not understand you. ⏱️

what does it return, you ask? 🫢

  • it returns 0 on success (we love a zero, periodt)
  • it returns <0 on failures (😭 not the negative numbers)

⭐ SEE ALSO ⭐

the kernel file ./drivers/watchdog/wdrtas.c is the whole squad's home base β€” go say hi to everybody:

fr fr, read them all. they're family. 🌈

and that's the whole page, bestie!! 🧚 this little gem came out of ./drivers/watchdog and it's dated October 2026 β€” so like, future-core. anyway, wdrtas_set_interval(9) out. mwah. πŸ’œπŸ“

πŸ“¦ where this page comes from