int sigpending (
sigset_t *set );
Interfaces documented on this reference page conform to industry standards as follows:
sigpending(): XPG4, XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standards and associated tags.
Points to a sigset_t structure.
The sigpending() function stores the set of signals that are blocked from delivery and pending to the calling process in the object pointed to by the set parameter.
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.
[Digital] If a bad mask parameter is passed, the calling process receives a SIGSEGV signal.
Functions: sigemptyset(3), sigprocmask(2)
Standards: standards(5) delim off