timerqueue_getnext(9)
β¨ timerqueue_getnext(9) β¨
okay so bestie, you're in the Kernel API Manual π and this is the page for timerqueue_getnext β literally the glow-up function that tells you which timer is gonna pop off first π
πΈ NAME πΈ
timerqueue_getnext β returns the timer with the earliest expiration time β°β¨
π SYNOPSIS π
struct timerqueue_node * timerqueue_getnext (struct timerqueue_head
*head );
no cap, that's the whole signature π«Ά
π¦ ARGUMENTS π¦
headβ head of timerqueue π like, the entry point to the whole queue, give it what it needs
β DESCRIPTION β
Returns a pointer to the timer node that has the earliest expiration time π₯
that's it, that's the whole vibe. you hand it the head of your timerqueue and it hands you back a pointer to whichever struct timerqueue_node is gonna expire soonest. main character node energy fr fr π
ngl it's giving "quick peek at the front of the line" β pointer in, pointer out, iconic behaviour π
π SEE ALSO π
- Kernel file
./include/linux/timerqueue.hπβ¨
and that's the tea π this page is brought to you by ./include/linux, dated October 2026 β mwah, go read the header file, iykyk ππ
π¦ 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