sigpending(2) - Linux man page
Name
sigpending - examine pending signalsSynopsis
#include <signal.h>int sigpending(sigset_t *set);
Description
sigpending() returns the set of signals that are pending for delivery to the calling thread (i.e., the signals which have been raised while blocked). The mask of pending signals is returned in set.
Return Value
sigpending() returns 0 on success and -1 on error.Errors
- EFAULT
- set points to memory which is not a valid part of the process address space.
