sys_rt_sigpending(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sys_rt_sigpending(9) β€” Kernel API Manual, but make it make sense ✨

okay so bestie, picture this: you're a signal, you got raised while you were blocked, and now you're just sitting there. pending. waiting. not me being ignored 😭. this page is literally the syscall that goes "hey, who's waiting in the queue rn?" and hands you back the list. no cap, that's the whole vibe. πŸŽ€


✨ NAME ✨

sys_rt_sigpending β€” examine a pending signal that has been raised while blocked πŸ’–

like, the signal showed up, it's there, but it's blocked so nothing's happened yet, and this syscall is the little peek behind the curtain. iconic behaviour honestly. πŸ¦‹


🌸 SYNOPSIS 🌸

long sys_rt_sigpending (sigset_t __user * uset , size_t sigsetsize );

lowkey a two-argument situation, we love a simple signature. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • uset β€” stores pending signals πŸ’… this is where the answer lands, bestie. the pending set goes in here.
  • sigsetsize β€” size of sigset_t type or larger πŸ“ that's it, that's the whole thing. it wants the size of the sigset_t type, or bigger. not smaller. don't try it. πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

okay this list is long and honestly it ate, so buckle up β€” everything below is from the kernel file ./kernel/signal.c:

like I said. a whole friend group. go read 'em, iykyk πŸ’œ


ngl the signal rabbit hole is deep, but you've got this bestie. main character energy only. πŸ‘‘

and that's the page! this one came straight out of ./kernel, dated October 2026, and it's filed under sys_rt_sigpending(9) β€” mwah, slay, periodt. πŸŒˆβ­πŸ’…

πŸ“¦ where this page comes from