Index Index for
Section 2
Index Alphabetical
listing for S
Bottom of page Bottom of
page

sigblock(2)

NAME

sigblock - Provide a compatibility interface to the sigprocmask function

SYNOPSIS

int sigblock( int mask );

PARAMETERS

mask Specifies the signals to be added to the set of signals currently being blocked from delivery.

DESCRIPTION

The sigblock() function causes the signals specified by the mask parameter to be added to the set of signals currently being blocked from delivery. The signals are blocked from delivery by logically ORing the mask value into the signal mask of the process. Signal i is blocked if the i-th bit in the mask parameter is a value of 1. Only signals with values 1-31 can be masked with the sigblock() function.

NOTES

It is not possible to block SIGKILL. The system provides no indication of this restriction. The sigblock() function is provided for compatibility with other UNIX systems. It provides a subset of the operations provided by the sigprocmask() function.

RETURN VALUES

On completion, the previous set of masked signals is returned.

SEE ALSO

Functions: kill(2), sigaction(2), sigprocmask(2), sigsuspend(2), sigvec(2), sigpause(3)

Index Index for
Section 2
Index Alphabetical
listing for S
Top of page Top of
page