sys_rt_sigtimedwait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sys_rt_sigtimedwait(9) β€” like, the kernel API manual bestie ✨

Okay so picture this: you're in the Kernel API Manual, and today's main character is sys_rt_sigtimedwait. Buckle up πŸŽ€


🌸 NAME 🌸

sys_rt_sigtimedwait β€” ok so this one synchronously waits for queued signals that you specified in @uthese. Synchronously!! Like it's just gonna stand there and wait for them, no cap πŸ’…


✨ SYNOPSIS ✨

long sys_rt_sigtimedwait (const sigset_t __user * uthese , siginfo_t
__user * uinfo , const struct __kernel_timespec __user * uts , size_t
sigsetsize );

Literally the whole signature, character for character, because we do not mess with the source 🫢


πŸ’– ARGUMENTS πŸ’–

  • uthese β€” the queued signals you're waiting for πŸ‘€ like, the lineup. the guest list.
  • uinfo β€” if this is non-null, the signal's siginfo gets returned right here πŸ’Œ so you actually find out what happened.
  • uts β€” the upper bound on how long the process can be suspended 😴 your lil time limit for the nap.
  • sigsetsize β€” the size of the sigset_t type πŸ“ just, the size. that's it.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./kernel/signal.c β€” and honestly the whole signal.c friend group came through πŸ˜­πŸ’•


ngl if you're poking at signals from inside ./kernel, this list is your group chat. read it. iykyk πŸ’€

And that's the whole page, bestie β€” sign-off time 🌈 This one lives in ./kernel, it's dated October 2026, and the title up top is sys_rt_sigtimedwait(9) because of course it is πŸ‘‘ Slay, stay blocked-until-ready, and don't wait synchronously for anything that isn't worth it πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from