sigpending - examine pending signals
#include <signal.h> int sigpending(sigset_t *set);
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.
Upon successful completion, sigpending() returns 0. Otherwise -1 is returned and errno is set to indicate the error.
No errors are defined.
None.
None.
None.
sigaddset(), sigdelset(), sigemptyset(), sigfillset(), sigismember(), sigprocmask(), <signal.h>.