sigemptyset

Initializes and empties a signal set.

Library:LibC
Classification:ANSI
Service:Signal Services

Syntax

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

Parameters

set

(IN) Points to the signal set to initialize and empty.

Return Values

If successful, returns 0. Otherwise, returns -1 and sets errno to indicate an error.

Remarks

For a list of supported signals which are excluded from the signal set, see Section 5.1, Standard Signals. Each object of type sigset_t must be initialized once with a call to either sigfillset or sigemptyset before calling the other functions which manage the signal set.

See Also