BSD 4_4 development
[unix-history] / usr / share / man / cat3 / sigdelset.0
SIGSETOPS(3) BSD Programmer's Manual SIGSETOPS(3)
N\bNA\bAM\bME\bE
s\bsi\big\bge\bem\bmp\bpt\bty\bys\bse\bet\bt, s\bsi\big\bgf\bfi\bil\bll\bls\bse\bet\bt, s\bsi\big\bga\bad\bdd\bds\bse\bet\bt, s\bsi\big\bgd\bde\bel\bls\bse\bet\bt, s\bsi\big\bgi\bis\bsm\bme\bem\bmb\bbe\ber\br - manipulate
signal sets
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
#\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<s\bsi\big\bgn\bna\bal\bl.\b.h\bh>\b>
s\bsi\big\bge\bem\bmp\bpt\bty\bys\bse\bet\bt(_\bs_\bi_\bg_\bs_\be_\bt_\b__\bt _\b*_\bs_\be_\bt);
s\bsi\big\bgf\bfi\bil\bll\bls\bse\bet\bt(_\bs_\bi_\bg_\bs_\be_\bt_\b__\bt _\b*_\bs_\be_\bt);
s\bsi\big\bga\bad\bdd\bds\bse\bet\bt(_\bs_\bi_\bg_\bs_\be_\bt_\b__\bt _\b*_\bs_\be_\bt, _\bi_\bn_\bt _\bs_\bi_\bg_\bn_\bo);
s\bsi\big\bgd\bde\bel\bls\bse\bet\bt(_\bs_\bi_\bg_\bs_\be_\bt_\b__\bt _\b*_\bs_\be_\bt, _\bi_\bn_\bt _\bs_\bi_\bg_\bn_\bo);
s\bsi\big\bgi\bis\bsm\bme\bem\bmb\bbe\ber\br(_\bs_\bi_\bg_\bs_\be_\bt_\b__\bt _\b*_\bs_\be_\bt, _\bi_\bn_\bt _\bs_\bi_\bg_\bn_\bo);
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
These functions manipulate signal sets stored in a _\bs_\bi_\bg_\bs_\be_\bt_\b__\bt. Either
s\bsi\big\bge\bem\bmp\bpt\bty\bys\bse\bet\bt() or s\bsi\big\bgf\bfi\bil\bll\bls\bse\bet\bt() must be called for every object of type
_\bs_\bi_\bg_\bs_\be_\bt_\b__\bt before any other use of the object.
The s\bsi\big\bge\bem\bmp\bpt\bty\bys\bse\bet\bt() function initializes a signal set to be empty.
The s\bsi\big\bgf\bfi\bil\bll\bls\bse\bet\bt() function initializes a signal set to contain all sig-
nals.
The s\bsi\big\bga\bad\bdd\bds\bse\bet\bt() function adds the specified signal _\bs_\bi_\bg_\bn_\bo to the signal
set.
The s\bsi\big\bgd\bde\bel\bls\bse\bet\bt() function deletes the specified signal _\bs_\bi_\bg_\bn_\bo from the sig-
nal set.
The s\bsi\big\bgi\bis\bsm\bme\bem\bmb\bbe\ber\br() function returns whether a specified signal _\bs_\bi_\bg_\bn_\bo is
contained in the signal set.
These functions are provided as macros in the include file <signal.h>.
Actual functions are available if their names are undefined (with #undef
_\bn_\ba_\bm_\be).
R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bES\bS
The s\bsi\big\bgi\bis\bsm\bme\bem\bmb\bbe\ber\br() function returns 1 if the signal is a member of the
set, 0 otherwise. The other functions return 0.
E\bER\bRR\bRO\bOR\bRS\bS
Currently no errors are detected.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
kill(2), sigaction(2), sigsuspend(2)
S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
These functions are defined by IEEE Std1003.1-1988 (``POSIX'').
4.4BSD June 4, 1993 1