SIGPENDING(3) Library Functions Manual SIGPENDING(3)
NAME
sigpending —
examine pending signals
SYNOPSIS
#include <signal.h> int sigpending(sigset_t *set);
DESCRIPTION
The sigpending() function stores, in the location referenced by the set argument, the set of signals that are blocked from delivery to the calling thread and that are pending on the process or the calling thread.
RETURN VALUE
Upon successful completion, sigpending() returns 0. Otherwise -1 is returned and errno is set to indicate the error.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
sigaddset(3) , sigdelset(3) , sigemptyset(3) , sigfillset(3) , sigismember(3) , sigprocmask(3) , <signal.h> .
February 1997 posix.fail