HP 3000 Manuals

sigfillset [ MPE/iX Developer's Kit Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume I

sigfillset 

Initializes a signal set to the full set.

Syntax 

     #include <signal.h>
     int sigfillset (sigset_t *set);

Parameters 

set        A pointer to a structure of type sigset_t to initialize to the
           full set.

Return Values 

0          Success.

-1         An error occurred.  The signal set is not initialized, and
           errno is set to indicate the error condition.

Description 

The sigfillset() function initializes set to the full set.  All signals
described in Table 3-5  are included in the set.

The sigfillset() or sigemptyset() function must be called to initialize
the structure of type sigset_t pointed to by set prior to its use by
other functions.

Implementation Considerations 

Refer to the EFAULT error description below.

Errors 

If an error occurs, errno is set to the following value:

EFAULT            CAUSE           The system detected a NULL or bad address in
                                  attempting to use the set parameter.
                  ACTION          Make sure that the pointer is correctly initialized.

See Also 

sigaction(), sigaddset(), sigdelset(), sigemptyset(), sigismember(),
<signal.h>, POSIX.1 (Section 3.3.3)



MPE/iX 5.0 Documentation