sigpending(2)
NAME
sigpending − examine pending signals
SYNOPSIS
#include <signal.h>
int sigpending (set)
sigset_t ∗set;
DESCRIPTION
The POSIX sigpending function retrieves the set of signals that have been sent to the calling process but are being blocked from delivery by the calling process’s signal mask. The pending signals are stored in the space pointed to by the argument set.
RETURN VALUE
Upon successful completion, a value of zero is returned. Otherwise, a value of −1 is returned and errno is set to indicate the error.
ERRORS
If the following condition occurs, the sigpending function will return −1 and set errno to the corresponding value:
[EFAULT] set points to an invalid address.
SEE ALSO
sigaction(2), sigsuspend(2), sigprocmask(2), sigsetops(3C), signal(5).
CX/UX Programmer’s Reference Manual