sigblock()

block signals 

Function


SYNOPSIS

#include <signal.h>

int sigblock(int mask);


DESCRIPTION

The sigblock() function call causes the signals specified in mask to be added to the set of signals currently being blocked from delivery. Signal j is blocked if the j-th bit in mask is a 1.

SIGKILL and SIGSTOP cannot be blocked.

The previous set of blocked signals is returned.


PARAMETERS

mask 

Specifies signals to be added to those currently blocked.


RETURN VALUES

sigblock() returns the old signal mask value.


CONFORMANCE

4.4BSD.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

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


SEE ALSO

api_intro

Functions:
sigmask(), signal(), sigsetmask()


MKS Toolkit 9.3 Documentation Build 6.