wdrtas_set_interval(9)
π 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
0on success (we love a zero, periodt) - it returns
<0on 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:
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_get_tokens(9)wdrtas_unregister_devs(9)wdrtas_register_devs(9)wdrtas_init(9)wdrtas_exit(9)
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
- 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