sigpending(2)sigpending(2)NAMEsigpending - Examine pending signals
SYNOPSIS
#include <signal.h>
int sigpending(
sigset_t *set );
STANDARDS
Interfaces documented on this reference page conform to industry stan‐
dards as follows:
sigpending(): XSH4.0, XSH4.2, XSH5.0
Refer to the standards(5) reference page for more information about
industry standards and associated tags.
PARAMETERS
Points to a sigset_t structure.
DESCRIPTION
The sigpending() function stores in the object pointed to by the set
parameter the set of signals that are blocked from delivery and pending
to the calling process.
RETURN VALUES
Upon successful completion, the sigpending() function returns a value
of 0 (zero). Otherwise, a value of -1 is returned and errno is set to
indicate the error.
ERRORS
[Tru64 UNIX] If a bad mask parameter is passed, the calling process
receives a SIGSEGV signal.
SEE ALSO
Functions: sigemptyset(3), sigprocmask(2)
Files: signal(4)
Standards: standards(5)sigpending(2)