Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

OSS Library Calls (s) sigfillset(3)
NAME
sigfillset - Initializes a signal mask to include all signals
LIBRARY
G-series native OSS processes: system library
H-series and J-series OSS processes: implicit libraries
SYNOPSIS
#include <signal.h>
int sigfillset (
sigset_t *set );
PARAMETERS
set Points to the signal set to be initialized.
DESCRIPTION
The sigfillset( ) function initializes the signal set pointed to by the set parameter such that all sig-
nals are included.
This function operates on data objects that can be addressed by the application, not on any set of
signals known to the system. This function is not for operations on the set of signals blocked
from delivery to a process or the set pending for a process.
A call to either the sigfillset( ) or sigemptyset( ) function must be made at least once for each
object of the type sigset_t prior to any other use of that object. If the object is used without such
initialization, the results are undefined for all other signal-related operations.
RETURN VALUES
Upon successful completion, the sigfillset( ) function returns the value 0 (zero).
ERRORS
This function never sets the value of errno.
RELATED INFORMATION
Functions: sigaction(2), sigaddset(3), sigdelset(3), sigemptyset(3), sigismember(3), sigproc-
mask(2), sigsuspend(2).
Files: signal(4).
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to define. The following
features are affected in the HP implementation:
Use of an object of type sigset_t in a signal-related operation without prior initialization
by either the sigemptyset( ) or sigfillset( ) function causes undefined results.
527187-017 Hewlett-Packard Company 655