SIGPENDING(2)
NAME
sigpending − examine pending signals
SYNOPSIS
#include <signal.h>
int sigpending ( set )
sigset_t *set ;
DESCRIPTION
Sigpending stores sets of signals that are blocked from delivery and are pending to the calling process, at the location pointed to by set.
RETURN VALUE
Upon successful completion, sigpending returns a value of 0. Otherwise a value of −1 is returned and errno is set to indicate the error.
ERRORS
Sigpending fails if the following is true:
[EFAULT] Set points to an invalid address. The reliable detection of this error is implementation dependent.
AUTHOR
Sigpending was derived from the IEEE Standard POSIX 1003.1-1988.
SEE ALSO
sigaction(2), sigsuspend(2), sigprocmask(2), sigsetops(3C), signal(5).
STANDARDS CONFORMANCE
sigpending: XPG3, POSIX.1, FIPS 151-1
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989