HPlogo MPE/iX Developer's Kit Reference Manual Volume I: HP 3000 MPE/iX Computer Systems > Chapter 4  POSIX/iX Library Function Descriptions

sigfillset

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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-6 “POSIX/iX Signals” 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:

EFAULTCAUSEThe system detected a NULL or bad address in attempting to use the set parameter.
 ACTIONMake sure that the pointer is correctly initialized.

See Also

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

Feedback to webmaster