rt_sigpending(2) -- Linux man page
NAMErt_sigpending - Examine a pending signal that has been raised while blocked
- long sys_rt_sigpending (sigset_t *set, size_t sigsetsize);
rt_sigpending allows pending signals that have been raised while blocked to be examined. The set value stores the signal mask of the pending signals. sigsetesize should indicate the size of a sigset_t type or larger; otherwise, an error is returned.
- An invalid signal was specified.
- set pointed to memory that is not part of the process address space.