sigpending - report pending signals
#include <signal.h> int sigpending(sigset_t *set)
Sigpending() returns the set of signals that are waiting to be delivered. They are currently blocked by the signal mask.
sigaction(2), sigprocmask(2), sigsuspend(2), sigset(3).
Returns 0 on success and -1 on error. The only possible error code is EFAULT for a bad set address.
Kees J. Bot (kjb@cs.vu.nl)