#include <signal.h>
int sigfillset(sigset_t *set);
The sigfillset()
function manipulates sets of signals. It operates on data objects
that the application addresses. It does not operate on any set of
signals known to the system (such as the set blocked from
delivery to a process or the set pending for a process).
sigfillset() initializes
the signal set that set points to include all signals that
the system defines.
Applications call either sigfillset()
or sigemptyset() at least once for each object of type
sigset_t prior to any other use of that object.
If such an object is not initialized in this way, the results are
not defined.
- set
-
Points to a signal set.
If successful, sigfillset()
returns a value of zero. On failure, it returns -1
and sets errno to one of the following values:
- EFAULT
-
set is an invalid pointer.
POSIX.1 (1996).
Async-signal-safe.
None.
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
- Functions:
- sigaction(), sigaddset(), sigdelset(), sigemptyset(), sigismember()
MKS Toolkit 9.3 Documentation Build 6.