|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: s
Length: 2901 (0xb55)
Names: »sigprocmask.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat2/sigprocmask.2«
0x000…020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆ 0x020…040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c ┆ u_ a_ l System Call┆ 0x040…060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 67 70 72 6f 63 6d 61 73 6b 28 32 29 0a 0a 0a 0a ┆s sigprocmask(2) ┆ 0x060…080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆ 0x080…0a0 20 20 73 69 67 70 72 6f 63 6d 61 73 6b 20 2d 20 63 68 61 6e 67 65 20 6f 72 20 65 78 61 6d 69 6e ┆ sigprocmask - change or examin┆ 0x0a0…0c0 65 20 62 6c 6f 63 6b 65 64 20 73 69 67 6e 61 6c 73 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 ┆e blocked signals S S S SY Y Y ┆ 0x0c0…0e0 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 ┆YN N N NT T T TA A A AX X X X ┆ 0x0e0…100 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c ┆ # # # #i i i in n n nc c c cl┆ 0x100…120 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 ┆ l l lu u u ud d d de e e e < < ┆ 0x120…140 3c 08 3c 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 67 08 67 6e 08 6e 08 6e 08 6e 61 ┆< <s s s si i i ig g g gn n n na┆ 0x140…160 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e ┆ a a al l l l. . . .h h h h> > >┆ 0x160…180 08 3e 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 73 ┆ > i i i in n n nt t t t s┆ 0x180…1a0 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 67 08 67 70 08 70 08 70 08 70 72 08 72 08 72 ┆ s s si i i ig g g gp p p pr r r┆ 0x1a0…1c0 08 72 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 6d 08 6d 08 6d 08 6d 61 08 61 08 61 08 61 73 08 ┆ ro o o oc c c cm m m ma a a as ┆ 0x1c0…1e0 73 08 73 08 73 6b 08 6b 08 6b 08 6b 28 08 28 08 28 08 28 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 ┆s s sk k k k( ( ( (h h h ho o o ┆ 0x1e0…200 6f 77 08 77 08 77 08 77 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 ┆ow w w w, , , , s s s se e e et ┆ 0x200…220 74 08 74 08 74 2c 08 2c 08 2c 08 2c 20 6f 08 6f 08 6f 08 6f 73 08 73 08 73 08 73 65 08 65 08 65 ┆t t t, , , , o o o os s s se e e┆ 0x220…240 08 65 74 08 74 08 74 08 74 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e ┆ et t t t) ) ) ) i i i in n┆ 0x240…260 08 6e 08 6e 74 08 74 08 74 08 74 20 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 77 08 77 08 77 08 ┆ n nt t t t h h h ho o o ow w w ┆ 0x260…280 77 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 ┆w; ; ; ; s s s si i i ig g ┆ 0x280…2a0 67 08 67 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 74 08 74 5f 08 5f 08 5f 08 5f 74 ┆g gs s s se e e et t t t_ _ _ _t┆ 0x2a0…2c0 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 ┆ t t t * * * *s s s se e e et t ┆ 0x2c0…2e0 74 08 74 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 6f 08 6f 08 6f 08 6f 73 08 73 08 73 08 73 ┆t t, , , , * * * *o o o os s s s┆ 0x2e0…300 65 08 65 08 65 08 65 74 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 ┆e e e et t t t; ; ; ; D D D DE ┆ 0x300…320 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 ┆E E ES S S SC C C CR R R RI I I ┆ 0x320…340 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e ┆IP P P PT T T TI I I IO O O ON N┆ 0x340…360 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 20 5f 08 73 5f 08 69 5f 08 67 5f 08 70 5f 08 72 5f 08 6f ┆ N N The _ s_ i_ g_ p_ r_ o┆ 0x360…380 5f 08 63 5f 08 6d 5f 08 61 5f 08 73 5f 08 6b 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 75 73 65 64 ┆_ c_ m_ a_ s_ k function is used┆ 0x380…3a0 20 74 6f 20 65 78 61 6d 69 6e 65 20 61 6e 64 2f 6f 72 20 63 68 61 6e 67 65 0a 20 20 20 20 20 74 ┆ to examine and/or change t┆ 0x3a0…3c0 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73 27 73 20 73 69 67 6e 61 6c 20 6d 61 73 6b ┆he calling process's signal mask┆ 0x3c0…3e0 2e 0a 0a 20 20 20 20 20 49 66 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 5f 08 68 5f 08 6f 5f 08 ┆. If the value of _ h_ o_ ┆ 0x3e0…400 77 20 69 73 20 53 49 47 5f 42 4c 4f 43 4b 2c 20 74 68 65 20 73 65 74 20 70 6f 69 6e 74 65 64 20 ┆w is SIG_BLOCK, the set pointed ┆ 0x400…420 74 6f 20 62 79 20 74 68 65 0a 20 20 20 20 20 61 72 67 75 6d 65 6e 74 20 5f 08 73 5f 08 65 5f 08 ┆to by the argument _ s_ e_ ┆ 0x420…440 74 20 69 73 20 61 64 64 65 64 20 74 6f 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 69 67 6e 61 6c ┆t is added to the current signal┆ 0x440…460 20 6d 61 73 6b 2e 20 20 49 66 20 74 68 65 0a 20 20 20 20 20 76 61 6c 75 65 20 69 73 20 53 49 47 ┆ mask. If the value is SIG┆ 0x460…480 5f 55 4e 42 4c 4f 43 4b 2c 20 74 68 65 20 73 65 74 20 70 6f 69 6e 74 65 64 20 62 79 20 74 68 65 ┆_UNBLOCK, the set pointed by the┆ 0x480…4a0 20 61 72 67 75 6d 65 6e 74 20 5f 08 73 5f 08 65 5f 08 74 20 69 73 0a 20 20 20 20 20 72 65 6d 6f ┆ argument _ s_ e_ t is remo┆ 0x4a0…4c0 76 65 64 20 66 72 6f 6d 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 69 67 6e 61 6c 20 6d 61 73 6b ┆ved from the current signal mask┆ 0x4c0…4e0 2e 20 20 49 66 20 74 68 65 20 76 61 6c 75 65 20 69 73 0a 20 20 20 20 20 53 49 47 5f 53 45 54 4d ┆. If the value is SIG_SETM┆ 0x4e0…500 41 53 4b 2c 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 69 67 6e 61 6c 20 6d 61 73 6b 20 69 73 20 ┆ASK, the current signal mask is ┆ 0x500…520 72 65 70 6c 61 63 65 64 20 62 79 20 74 68 65 20 73 65 74 0a 20 20 20 20 20 70 6f 69 6e 74 65 64 ┆replaced by the set pointed┆ 0x520…540 20 74 6f 20 62 79 20 74 68 65 20 61 72 67 75 6d 65 6e 74 20 5f 08 73 5f 08 65 5f 08 74 2e 0a 0a ┆ to by the argument _ s_ e_ t. ┆ 0x540…560 20 20 20 20 20 49 66 20 74 68 65 20 61 72 67 75 6d 65 6e 74 20 5f 08 6f 5f 08 73 5f 08 65 5f 08 ┆ If the argument _ o_ s_ e_ ┆ 0x560…580 74 20 69 73 20 6e 6f 74 20 4e 55 4c 4c 2c 20 74 68 65 20 70 72 65 76 69 6f 75 73 20 6d 61 73 6b ┆t is not NULL, the previous mask┆ 0x580…5a0 20 69 73 0a 20 20 20 20 20 73 74 6f 72 65 64 20 69 6e 20 74 68 65 20 73 70 61 63 65 20 70 6f 69 ┆ is stored in the space poi┆ 0x5a0…5c0 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 6f 5f 08 73 5f 08 65 5f 08 74 2e 20 20 49 66 20 74 68 65 ┆nted to by _ o_ s_ e_ t. If the┆ 0x5c0…5e0 20 76 61 6c 75 65 20 6f 66 20 74 68 65 0a 20 20 20 20 20 61 72 67 75 6d 65 6e 74 20 5f 08 73 5f ┆ value of the argument _ s_┆ 0x5e0…600 08 65 5f 08 74 20 69 73 20 4e 55 4c 4c 2c 20 74 68 65 20 76 61 6c 75 65 20 5f 08 68 5f 08 6f 5f ┆ e_ t is NULL, the value _ h_ o_┆ 0x600…620 08 77 20 69 73 20 6e 6f 74 20 73 69 67 6e 69 66 69 63 61 6e 74 20 61 6e 64 0a 20 20 20 20 20 74 ┆ w is not significant and t┆ 0x620…640 68 65 20 70 72 6f 63 65 73 73 27 73 20 73 69 67 6e 61 6c 20 6d 61 73 6b 20 69 73 20 75 6e 63 68 ┆he process's signal mask is unch┆ 0x640…660 61 6e 67 65 64 3b 20 74 68 75 73 2c 20 74 68 65 20 63 61 6c 6c 20 63 61 6e 0a 20 20 20 20 20 62 ┆anged; thus, the call can b┆ 0x660…680 65 20 75 73 65 64 20 74 6f 20 65 6e 71 75 69 72 65 20 61 62 6f 75 74 20 63 75 72 72 65 6e 74 6c ┆e used to enquire about currentl┆ 0x680…6a0 79 20 62 6c 6f 63 6b 65 64 20 73 69 67 6e 61 6c 73 2e 0a 0a 20 20 20 20 20 49 66 20 74 68 65 72 ┆y blocked signals. If ther┆ 0x6a0…6c0 65 20 61 72 65 20 61 6e 79 20 70 65 6e 64 69 6e 67 20 75 6e 62 6c 6f 63 6b 65 64 20 73 69 67 6e ┆e are any pending unblocked sign┆ 0x6c0…6e0 61 6c 73 20 61 66 74 65 72 20 74 68 65 20 63 61 6c 6c 20 74 6f 0a 20 20 20 20 20 5f 08 73 5f 08 ┆als after the call to _ s_ ┆ 0x6e0…700 69 5f 08 67 5f 08 70 5f 08 72 5f 08 6f 5f 08 63 5f 08 6d 5f 08 61 5f 08 73 5f 08 6b 2c 20 61 74 ┆i_ g_ p_ r_ o_ c_ m_ a_ s_ k, at┆ 0x700…720 20 6c 65 61 73 74 20 6f 6e 65 20 6f 66 20 74 68 6f 73 65 20 73 69 67 6e 61 6c 73 20 77 69 6c 6c ┆ least one of those signals will┆ 0x720…740 20 62 65 20 64 65 6c 69 76 65 72 65 64 0a 20 20 20 20 20 62 65 66 6f 72 65 20 74 68 65 20 63 61 ┆ be delivered before the ca┆ 0x740…760 6c 6c 20 74 6f 20 5f 08 73 5f 08 69 5f 08 67 5f 08 70 5f 08 72 5f 08 6f 5f 08 63 5f 08 6d 5f 08 ┆ll to _ s_ i_ g_ p_ r_ o_ c_ m_ ┆ 0x760…780 61 5f 08 73 5f 08 6b 20 72 65 74 75 72 6e 73 2e 0a 0a 20 20 20 20 20 49 74 20 69 73 20 6e 6f 74 ┆a_ s_ k returns. It is not┆ 0x780…7a0 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 62 6c 6f 63 6b 20 74 68 6f 73 65 20 73 69 67 6e 61 6c 73 ┆ possible to block those signals┆ 0x7a0…7c0 20 74 68 61 74 20 63 61 6e 6e 6f 74 20 62 65 0a 20 20 20 20 20 69 67 6e 6f 72 65 64 3b 20 74 68 ┆ that cannot be ignored; th┆ 0x7c0…7e0 69 73 20 72 65 73 74 72 69 63 74 69 6f 6e 20 69 73 20 73 69 6c 65 6e 74 6c 79 20 69 6d 70 6f 73 ┆is restriction is silently impos┆ 0x7e0…800 65 64 20 62 79 20 74 68 65 20 73 79 73 74 65 6d 2e 0a 0a 20 20 20 20 20 49 66 20 5f 08 73 5f 08 ┆ed by the system. If _ s_ ┆ 0x800…820 69 5f 08 67 5f 08 70 5f 08 72 5f 08 6f 5f 08 63 5f 08 6d 5f 08 61 5f 08 73 5f 08 6b 20 66 61 69 ┆i_ g_ p_ r_ o_ c_ m_ a_ s_ k fai┆ 0x820…840 6c 73 2c 20 74 68 65 20 70 72 6f 63 65 73 73 27 73 20 73 69 67 6e 61 6c 20 6d 61 73 6b 20 69 73 ┆ls, the process's signal mask is┆ 0x840…860 20 6e 6f 74 0a 20 20 20 20 20 63 68 61 6e 67 65 64 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 ┆ not changed. E E E ER R R┆ 0x860…880 08 52 52 08 52 08 52 08 52 4f 08 4f 08 4f 08 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 ┆ RR R R RO O O OR R R RS S S S ┆ 0x880…8a0 20 20 20 20 5f 08 73 5f 08 69 5f 08 67 5f 08 70 5f 08 72 5f 08 6f 5f 08 63 5f 08 6d 5f 08 61 5f ┆ _ s_ i_ g_ p_ r_ o_ c_ m_ a_┆ 0x8a0…8c0 08 73 5f 08 6b 20 66 61 69 6c 73 20 69 66 20 61 6e 79 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 ┆ s_ k fails if any of the follow┆ 0x8c0…8e0 69 6e 67 20 69 73 20 74 72 75 65 3a 0a 0a 20 20 20 20 20 5b 45 49 4e 56 41 4c 5d 20 20 20 20 20 ┆ing is true: [EINVAL] ┆ 0x8e0…900 20 20 54 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 5f 08 68 5f 08 6f 5f 08 77 20 61 72 67 ┆ The value of the _ h_ o_ w arg┆ 0x900…920 75 6d 65 6e 74 20 69 73 20 6e 6f 74 20 65 71 75 61 6c 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 ┆ument is not equal to ┆ 0x920…940 20 20 20 20 20 20 20 20 20 20 6f 6e 65 20 6f 66 20 74 68 65 20 64 65 66 69 6e 65 64 20 76 61 6c ┆ one of the defined val┆ 0x940…960 75 65 73 2e 0a 0a 20 20 20 20 20 5b 45 46 41 55 4c 54 5d 20 20 20 20 20 20 20 54 68 65 20 76 61 ┆ues. [EFAULT] The va┆ 0x960…980 6c 75 65 20 6f 66 20 5f 08 73 5f 08 65 5f 08 74 20 6f 72 20 5f 08 6f 5f 08 73 5f 08 65 5f 08 74 ┆lue of _ s_ e_ t or _ o_ s_ e_ t┆ 0x980…9a0 20 70 6f 69 6e 74 73 20 6f 75 74 73 69 64 65 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ points outside the ┆ 0x9a0…9c0 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 27 73 20 61 6c 6c 6f 63 61 74 65 64 20 61 64 64 72 ┆ process's allocated addr┆ 0x9c0…9e0 65 73 73 20 73 70 61 63 65 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 ┆ess space. S S S SE E E EE E E ┆ 0x9e0…a00 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 ┆E A A A AL L L LS S S SO O O O ┆ 0xa00…a20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 73 69 67 61 63 74 69 6f 6e 2c ┆ System Calls (2): sigaction,┆ 0xa20…a40 20 73 69 67 73 65 74 6f 70 74 73 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 ┆ sigsetopts R R R RE E E ET T T┆ 0xa40…a60 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 ┆ TU U U UR R R RN N N N V V V VA┆ 0xa60…a80 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 ┆ A A AL L L LU U U UE E E E ┆ 0xa80…aa0 20 4f 6e 20 73 75 63 63 65 73 73 2c 20 5f 08 73 5f 08 69 5f 08 67 5f 08 70 5f 08 72 5f 08 6f 5f ┆ On success, _ s_ i_ g_ p_ r_ o_┆ 0xaa0…ac0 08 63 5f 08 6d 5f 08 61 5f 08 73 5f 08 6b 20 72 65 74 75 72 6e 73 20 7a 65 72 6f 2e 20 20 4f 6e ┆ c_ m_ a_ s_ k returns zero. On┆ 0xac0…ae0 20 66 61 69 6c 75 72 65 2c 20 69 74 0a 20 20 20 20 20 72 65 74 75 72 6e 73 20 2d 31 20 61 6e 64 ┆ failure, it returns -1 and┆ 0xae0…b00 20 73 65 74 73 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 74 6f 20 69 6e 64 69 63 61 74 ┆ sets _ e_ r_ r_ n_ o to indicat┆ 0xb00…b20 65 20 74 68 65 20 65 72 72 6f 72 2e 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 ┆e the error. December 1990 ┆ 0xb20…b40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d ┆ TX Program┆ 0xb40…b55 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a ┆mer's Reference ┆