Manual Pages for UNIX Darwin command on man sigblock
MyWebUniversity

Manual Pages for UNIX Darwin command on man sigblock

SIGBLOCK(2) BSD System Calls Manual SIGBLOCK(2)

NAME

ssiiggbblloocckk - block signals

LLIIBBRRAARRYY

Standard C Library (libc, -lc)

SYNOPSIS

##iinncclluuddee <>

int ssiiggbblloocckk(int mask); int ssiiggmmaasskk(signum);

DESCRIPTION

TThhiiss iinntteerrffaaccee iiss mmaaddee oobbssoolleettee bbyy sigprocmask(22)..

SSiiggbblloocckk() adds the signals specified in mask to the set of signals cur-

rently being blocked from delivery. Signals are blocked if the corre-

sponding bit in mask is a 1; the macro ssiiggmmaasskk() is provided to construct the mask for a given signum. It is not possible to block SIGKILL or SIGSTOP; this restriction is silently imposed by the system.

RETURN VALUES

The previous set of masked signals is returned.

SEE ALSO

kill(2), sigaction(2), sigprocmask(2), sigsetmask(2), sigsetops(3) HISTORY The ssiiggbblloocckk() function call appeared in 4.2BSD and has been deprecated. BSD June 2, 1993 BSD




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™