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

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

api_intro

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


PTC MKS Toolkit 10.4 Documentation Build 39.