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.
Item | Description |
---|---|
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:
Item | Description |
---|---|
EINVAL | The input parameter is outside the user's address space. |