sigsetmask()

set the current signal mask to block a set of signals 

Function


SYNOPSIS

#include <signal.h>

int sigsetmask(int mask);


DESCRIPTION

The sigsetmask() function sets the current signal mask to block the set of signals to be delivered. Signal j is blocked if the j-th bit in mask is 1.

SIGKILL or SIGSTOP cannot be blocked.


PARAMETERS

mask 

Is the set of signals to be blocked.


RETURN VALUES

The previous set of blocked signals is returned.


CONFORMANCE

4.4BSD.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
sigblock(), signal()


PTC MKS Toolkit 10.4 Documentation Build 39.