SIGPENDING(2P) SIGPENDING(2P)
NAME
sigpending - examine pending signals
SYNOPSIS
#include <signal.h>
int sigpending(set)
sigsett *set;
DESCRIPTION
sigpending stores the set of signals that are blocked from
delivery and pending for the calling process at the location
pointed to by set.
RETURN VALUE
Upon successful completion, zero is returned. Otherwise, a
value of -1 is returned and errno is set to indicate the
error.
ERRORS
If the following condition occurs, sigpending will return -1
and set errno to the corresponding value:
[EFAULT] set points to an invalid address.
SEE ALSO
sigsetops(2), sigprocmask(2).
Page 1 May 1989