Returns a set of signals that are blocked from delivery.
Standard C Library (libc.a)
#include <signal.h>
int sigpending ( Set)
sigset_t *Set;
The sigpending subroutine stores a set of signals that are blocked from delivery and pending for the calling thread, in the space pointed to by the Set parameter.
Set | Specifies the set of signals. |
Upon successful completion, the sigpending subroutine returns a value of 0. Otherwise, a value of -1 is returned and the errno global variable is set to indicate the error.
The sigpending subroutine is unsuccessful if the following is true:
EINVAL | The input parameter is outside the user's address space. |
The sigprocmask (sigprocmask, sigsetmask, or sigblock Subroutine) subroutine.