sigpending(2)sigpending(2)Namesigpending - examine pending signals
Syntax
#include <signal.h>
sigpending(set)
sigset_t *set;
Description
The system call stores the set of signals that is blocked from delivery
and pending for the calling process in the space pointed to by the
argument set.
The set argument is manipulated by using the functions.
Return Values
A zero (0) return value indicates that the call succeeded. A -1 return
value indicates an error occurred, and errno is set to indicate the
reason.
Diagnostics
The system call fails if the following occurs:
[EFAULT] The set argument points to memory that is not a valid
part of the process address space.
See Alsosigprocmask(3), sigsetops(3)sigpending(2)