sys_rt_sigpending(9)
π 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 ofsigset_ttype or larger π that's it, that's the whole thing. it wants the size of thesigset_ttype, 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:
task_set_jobctl_pending(9)task_clear_jobctl_trapping(9)task_clear_jobctl_pending(9)task_participate_group_stop(9)ptrace_trap_notify(9)force_sig_seccomp(9)do_notify_parent_cldstop(9)do_signal_stop(9)do_jobctl_trap(9)do_freezer_trap(9)signal_delivered(9)sys_restart_syscall(9)set_current_blocked(9)sys_rt_sigprocmask(9)copy_siginfo_to_external32(9)do_sigtimedwait(9)sys_rt_sigtimedwait(9)sys_kill(9)sys_pidfd_send_signal(9)sys_tgkill(9)sys_tkill(9)sys_rt_sigqueueinfo(9)sys_sigpending(9)sys_sigprocmask(9)sys_rt_sigaction(9)sys_rt_sigsuspend(9)
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
- 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