SIGEMPTYSET(3) Library Functions Manual SIGEMPTYSET(3)

sigemptysetinitialise and empty a signal set

#include <signal.h>

int sigemptyset(sigset_t *set);

The sigemptyset() function initialises the signal set pointed to by set , such that all signals defined in this document are excluded.

Upon successful completion, sigemptyset() returns 0. Otherwise, it returns -1 and sets errno to indicate the error.

No errors are defined.

None.

None.

None.

sigaction(3) , sigaddset(3) , sigdelset(3) , sigfillset(3) , sigismember(3) , sigpending(3) , sigprocmask(3) , sigsuspend(3) , <signal.h> .

Derived from the POSIX.1-1988 standard.

February 1997 posix.fail