BSD 4_4 development
[unix-history] / usr / share / man / cat3 / sigdelset.0
CommitLineData
8bb980a3
C
1SIGSETOPS(3) BSD Programmer's Manual SIGSETOPS(3)
2
3N\bNA\bAM\bME\bE
4 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
5 signal sets
6
7S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
8 #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<s\bsi\big\bgn\bna\bal\bl.\b.h\bh>\b>
9
10 s\bsi\big\bge\bem\bmp\bpt\bty\bys\bse\bet\bt(_\bs_\bi_\bg_\bs_\be_\bt_\b__\bt _\b*_\bs_\be_\bt);
11
12 s\bsi\big\bgf\bfi\bil\bll\bls\bse\bet\bt(_\bs_\bi_\bg_\bs_\be_\bt_\b__\bt _\b*_\bs_\be_\bt);
13
14 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);
15
16 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);
17
18 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);
19
20D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
21 These functions manipulate signal sets stored in a _\bs_\bi_\bg_\bs_\be_\bt_\b__\bt. Either
22 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
23 _\bs_\bi_\bg_\bs_\be_\bt_\b__\bt before any other use of the object.
24
25 The s\bsi\big\bge\bem\bmp\bpt\bty\bys\bse\bet\bt() function initializes a signal set to be empty.
26
27 The s\bsi\big\bgf\bfi\bil\bll\bls\bse\bet\bt() function initializes a signal set to contain all sig-
28 nals.
29
30 The s\bsi\big\bga\bad\bdd\bds\bse\bet\bt() function adds the specified signal _\bs_\bi_\bg_\bn_\bo to the signal
31 set.
32
33 The s\bsi\big\bgd\bde\bel\bls\bse\bet\bt() function deletes the specified signal _\bs_\bi_\bg_\bn_\bo from the sig-
34 nal set.
35
36 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
37 contained in the signal set.
38
39 These functions are provided as macros in the include file <signal.h>.
40 Actual functions are available if their names are undefined (with #undef
41 _\bn_\ba_\bm_\be).
42
43R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bES\bS
44 The s\bsi\big\bgi\bis\bsm\bme\bem\bmb\bbe\ber\br() function returns 1 if the signal is a member of the
45 set, 0 otherwise. The other functions return 0.
46
47E\bER\bRR\bRO\bOR\bRS\bS
48 Currently no errors are detected.
49
50S\bSE\bEE\bE A\bAL\bLS\bSO\bO
51 kill(2), sigaction(2), sigsuspend(2)
52
53S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
54 These functions are defined by IEEE Std1003.1-1988 (``POSIX'').
55
564.4BSD June 4, 1993 1