sigpending(2) sigpending(2)
NAME
sigpending - examine signals that are blocked and pending
SYNOPSIS
#include <signal.h>
int sigpending(sigsett *set);
DESCRIPTION
The sigpending() function retrieves those signals that have been sent
to the calling process but are being blocked from delivery by the cal-
ling process' signal mask. The signals are stored in the space pointed
to by the argument set.
sigpending() fails if the following is true:
EFAULT set points outside the process' allocated address space.
RESULT
On success, sigpending() returns 0. On failure, it returns -1 and sets
errno to indicate the error.
SEE ALSO
sigaction(2), sigprocmask(2), sigsetops(3C).
Page 1 Reliant UNIX 5.44 Printed 11/98