HP 3000 Manuals

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


MPE/iX Developer's Kit Reference Manual Volume I

sigemptyset 

Initializes a signal set to the empty set.

Syntax 

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

Parameters 

set        A pointer to a structure of type sigset_t to initialize to the
           empty 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 sigemptyset() function initializes set to the empty set.  All signals
described in Table 3-5  are excluded from the set.

The sigemptyset() or sigfillset() 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(), sigfillset(), sigismember(),
<signal.h>, POSIX.1 Section 3.3.3.



MPE/iX 5.0 Documentation