sigblock

Name

sigblock -- manipulate the signal mask

Synopsis

#include _BSD_SOURCE
#include <signal.h>

int sigblock(int mask);

Description

The sigblock function shall add the signals corresponding to the bits set in mask to the set of signals currently being blocked from delivery.

Return Value

The sigblock function shall return the previous signal mask.

Errors

None.

Notes

sigblock is made obsolete by sigprocmask(2). A future version of this specification may deprecate this function.