timerqueue_getnext(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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