sigsetmask

Name

sigsetmask -- manipulate the signal mask

Synopsis

int sigsetmask(int mask);

Description

This interface is made obsolete by sigprocmask(2).

The sigsetmask system call replaces the set of blocked signals totally with a new set specified in mask. Signals are blocked if the corresponding bit in mask is a 1.

Return Value

sigsetmask returns the previous set of masked signals.

Notes

Prototype for this function is only available if _BSD_SOURCE is defined before the inclusion of any system header file.