fsm_addtimer(9)
πΈ NAME πΈ
okay so we're in the Kernel API Manual, and this page is all about fsm_addtimer(9) β the function that adds and starts a timer for an FSM instance. bestie, that's the whole vibe. β¨
β¨ SYNOPSIS β¨
int fsm_addtimer (fsm_timer *timer , int millisec , int event , void
*arg );
π ARGUMENTS π
timerβ the timer to be added, and yes:timer->fimust point to the FSM instance. no cap πmillisecβ duration in milliseconds after which the timer expires. β³eventβ event to trigger when the timer expires. π₯argβ generic argument provided to the event handler. π«Ά
π¦ DESCRIPTION π¦
So this one starts a timer that will trigger the specified event after the given duration. The timer must have been initialized with fsm_settimer first β like, that's not a suggestion, bestie. π
β οΈ reminder: the timer must have been initialized with fsm_settimer. do not skip this, i'm literally begging. π
π RETURN π
Always returns 0. literally always. no dramatic error code, no plot twist β just 0. periodt. π«Ά
π₯ SEE ALSO π₯
Kernel file ./drivers/s390/net/fsm.h β and the whole squad: init_fsm(9), kfree_fsm(9), fsm_event(9), fsm_newstate(9), fsm_getstate(9), fsm_getstate_str(9), fsm_settimer(9), fsm_deltimer(9), fsm_modtimer(9). π
peace out from ./drivers/s390/net, October 2026 β fsm_addtimer(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