sigpending(3)
NAME
sigppending - Examine pending signals (POSIX software signal facilities)
SYNOPSIS
#include <signal.h> int sigpending(sigset_t *set);
PARAMETERS
setPoints to a location in which the signals that are blocked from delivery and pending at the time of the sigpending() function call are returned.
DESCRIPTION
The sigpending() function stores the set of signals that are blocked from delivery and pending for the calling process in the space pointed to by the argument set. The sigpending() function may be called by any thread in a multi-threaded process to determine which signals are in the pending set for that thread. Since DCE Threads supports the {_POSIX_THREADS_PER_PROCESS_SIGNALS_1} option, signals pending upon the thread are those that are pending upon the process.
RETURN VALUES
Possible return values are as follows:
| Return | Error | Description |
| 0 | Successful completion. | |
| \-1 | [EFAULT] | The set argument points to memory that is not |
| a valid part of the process address space. |
RELATED INFORMATION
Functions: sigprocmask(3), sigsetops(3).
Hewlett-Packard Company — OSF DCE 1.1/HP DCE 1.5