SIGPENDING(2P) — UNIX Programmer’s Manual
NAME
sigpending − (POSIX only) retrieve the set of pending signals for the calling process.
SYNOPSIS
#include <signal.h>
sigpending(sigset_t ∗set);
DESCRIPTION
The information in this specification applies only to POSIX applications.
The sigpending function stores the set of signals that are blocked from delivery and pending for the calling process 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
[EFAULT] The value of the set argument is outside the process address space.
SEE ALSO
sigprocmask(2P), sigsetops(3P)
4th Berkeley Distribution — August 1, 1992