|
|
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: 5576 (0x15c8)
Names: »sigsetmode.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat2/sigsetmode.2«
0x0000…0020 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_┆ 0x0020…0040 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┆ 0x0040…0060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 67 73 65 74 6d 6f 64 65 28 32 29 0a 0a 0a 0a ┆s sigsetmode(2) ┆ 0x0060…0080 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 ┆ 0x0080…00a0 20 20 73 69 67 73 65 74 6d 6f 64 65 20 2d 20 73 65 74 20 61 6e 64 20 72 65 74 75 72 6e 20 74 68 ┆ sigsetmode - set and return th┆ 0x00a0…00c0 65 20 73 69 67 6e 61 6c 20 6d 6f 64 65 20 6f 66 20 61 20 70 72 6f 63 65 73 73 0a 0a 53 08 53 08 ┆e signal mode of a process S S ┆ 0x00c0…00e0 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 ┆S SY Y Y YN N N NT T T TA A A AX┆ 0x00e0…0100 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 ┆ X X X # # # #i i i in n n ┆ 0x0100…0120 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 ┆nc c c cl l l lu u u ud d d de e┆ 0x0120…0140 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 67 08 ┆ e e < < < <s s s si i i ig g g ┆ 0x0140…0160 67 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 2e 08 2e 08 2e 08 2e 68 08 68 ┆gn n n na a a al l l l. . . .h h┆ 0x0160…0180 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 23 08 23 08 23 08 23 64 08 64 08 64 08 64 ┆ h h> > > > # # # #d d d d┆ 0x0180…01a0 65 08 65 08 65 08 65 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 65 08 65 08 ┆e e e ef f f fi i i in n n ne e ┆ 0x01a0…01c0 65 08 65 20 20 20 53 08 53 08 53 08 53 49 08 49 08 49 08 49 47 08 47 08 47 08 47 5f 08 5f 08 5f ┆e e S S S SI I I IG G G G_ _ _┆ 0x01c0…01e0 08 5f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4e 08 ┆ _R R R RS S S ST T T TI I I IN ┆ 0x01e0…0200 4e 08 4e 08 4e 54 08 54 08 54 08 54 52 08 52 08 52 08 52 20 20 20 20 28 08 28 08 28 08 28 31 08 ┆N N NT T T TR R R R ( ( ( (1 ┆ 0x0200…0220 31 08 31 08 31 20 3c 08 3c 08 3c 08 3c 3c 08 3c 08 3c 08 3c 20 30 08 30 08 30 08 30 29 08 29 08 ┆1 1 1 < < < << < < < 0 0 0 0) ) ┆ 0x0220…0240 29 08 29 20 2f 08 2f 08 2f 08 2f 2a 08 2a 08 2a 08 2a 20 72 08 72 08 72 08 72 65 08 65 08 65 08 ┆) ) / / / /* * * * r r r re e e ┆ 0x0240…0260 65 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 72 08 72 08 72 08 72 74 08 74 ┆es s s st t t ta a a ar r r rt t┆ 0x0260…0280 08 74 08 74 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 65 08 65 08 65 08 ┆ t t i i i in n n nt t t te e e ┆ 0x0280…02a0 65 72 08 72 08 72 08 72 72 08 72 08 72 08 72 75 08 75 08 75 08 75 70 08 70 08 70 08 70 74 08 74 ┆er r r rr r r ru u u up p p pt t┆ 0x02a0…02c0 08 74 08 74 65 08 65 08 65 08 65 64 08 64 08 64 08 64 20 73 08 73 08 73 08 73 79 08 79 08 79 08 ┆ t te e e ed d d d s s s sy y y ┆ 0x02c0…02e0 79 73 08 73 08 73 08 73 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 20 63 08 ┆ys s s st t t te e e em m m m c ┆ 0x02e0…0300 63 08 63 08 63 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 ┆c c ca a a al l l ll l l ls s s ┆ 0x0300…0320 73 20 2a 08 2a 08 2a 08 2a 2f 08 2f 08 2f 08 2f 0a 20 20 20 20 20 23 08 23 08 23 08 23 64 08 64 ┆s * * * */ / / / # # # #d d┆ 0x0320…0340 08 64 08 64 65 08 65 08 65 08 65 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e ┆ d de e e ef f f fi i i in n n n┆ 0x0340…0360 65 08 65 08 65 08 65 20 20 20 53 08 53 08 53 08 53 49 08 49 08 49 08 49 47 08 47 08 47 08 47 5f ┆e e e e S S S SI I I IG G G G_┆ 0x0360…0380 08 5f 08 5f 08 5f 52 08 52 08 52 08 52 45 08 45 08 45 08 45 53 08 53 08 53 08 53 45 08 45 08 45 ┆ _ _ _R R R RE E E ES S S SE E E┆ 0x0380…03a0 08 45 54 08 54 08 54 08 54 44 08 44 08 44 08 44 46 08 46 08 46 08 46 4c 08 4c 08 4c 08 4c 20 20 ┆ ET T T TD D D DF F F FL L L L ┆ 0x03a0…03c0 20 28 08 28 08 28 08 28 31 08 31 08 31 08 31 20 3c 08 3c 08 3c 08 3c 3c 08 3c 08 3c 08 3c 20 31 ┆ ( ( ( (1 1 1 1 < < < << < < < 1┆ 0x03c0…03e0 08 31 08 31 08 31 29 08 29 08 29 08 29 20 2f 08 2f 08 2f 08 2f 2a 08 2a 08 2a 08 2a 20 72 08 72 ┆ 1 1 1) ) ) ) / / / /* * * * r r┆ 0x03e0…0400 08 72 08 72 65 08 65 08 65 08 65 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 74 08 74 ┆ r re e e es s s se e e et t t t┆ 0x0400…0420 20 63 08 63 08 63 08 63 61 08 61 08 61 08 61 75 08 75 08 75 08 75 67 08 67 08 67 08 67 68 08 68 ┆ c c c ca a a au u u ug g g gh h┆ 0x0420…0440 08 68 08 68 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 67 08 ┆ h ht t t t s s s si i i ig g g ┆ 0x0440…0460 67 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 20 74 08 ┆gn n n na a a al l l ls s s s t ┆ 0x0460…0480 74 08 74 08 74 6f 08 6f 08 6f 08 6f 20 53 08 53 08 53 08 53 49 08 49 08 49 08 49 47 08 47 08 47 ┆t t to o o o S S S SI I I IG G G┆ 0x0480…04a0 08 47 5f 08 5f 08 5f 08 5f 44 08 44 08 44 08 44 46 08 46 08 46 08 46 4c 08 4c 08 4c 08 4c 20 2a ┆ G_ _ _ _D D D DF F F FL L L L *┆ 0x04a0…04c0 08 2a 08 2a 08 2a 2f 08 2f 08 2f 08 2f 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 69 08 69 08 69 ┆ * * */ / / / s s s si i i┆ 0x04c0…04e0 08 69 67 08 67 08 67 08 67 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 74 08 74 6d 08 ┆ ig g g gs s s se e e et t t tm ┆ 0x04e0…0500 6d 08 6d 08 6d 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 64 65 08 65 08 65 08 65 28 08 28 08 28 08 ┆m m mo o o od d d de e e e( ( ( ┆ 0x0500…0520 28 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 77 08 77 08 77 08 77 5f 08 5f 08 5f 08 5f 6d 08 6d ┆(n n n ne e e ew w w w_ _ _ _m m┆ 0x0520…0540 08 6d 08 6d 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 64 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c ┆ m mo o o od d d de e e e, , , ,┆ 0x0540…0560 20 6f 08 6f 08 6f 08 6f 6c 08 6c 08 6c 08 6c 64 08 64 08 64 08 64 5f 08 5f 08 5f 08 5f 6d 08 6d ┆ o o o ol l l ld d d d_ _ _ _m m┆ 0x0560…0580 08 6d 08 6d 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 64 65 08 65 08 65 08 65 29 08 29 08 29 08 29 ┆ m mo o o od d d de e e e) ) ) )┆ 0x0580…05a0 0a 20 20 20 20 20 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 ┆ i i i in n n nt t t t┆ 0x05a0…05c0 20 20 2a 08 2a 08 2a 08 2a 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 77 08 77 08 77 08 77 5f 08 ┆ * * * *n n n ne e e ew w w w_ ┆ 0x05c0…05e0 5f 08 5f 08 5f 6d 08 6d 08 6d 08 6d 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 64 65 08 65 08 65 08 ┆_ _ _m m m mo o o od d d de e e ┆ 0x05e0…0600 65 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 ┆e; ; ; ; i i i in n n ┆ 0x0600…0620 6e 74 08 74 08 74 08 74 20 20 2a 08 2a 08 2a 08 2a 6f 08 6f 08 6f 08 6f 6c 08 6c 08 6c 08 6c 64 ┆nt t t t * * * *o o o ol l l ld┆ 0x0620…0640 08 64 08 64 08 64 5f 08 5f 08 5f 08 5f 6d 08 6d 08 6d 08 6d 6f 08 6f 08 6f 08 6f 64 08 64 08 64 ┆ d d d_ _ _ _m m m mo o o od d d┆ 0x0640…0660 08 64 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 ┆ de e e e; ; ; ; D D D DE E E E┆ 0x0660…0680 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 49 50 08 50 08 ┆S S S SC C C CR R R RI I I IP P ┆ 0x0680…06a0 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 08 4e 08 4e 0a ┆P PT T T TI I I IO O O ON N N N ┆ 0x06a0…06c0 20 20 20 20 20 54 68 65 20 5f 08 73 5f 08 69 5f 08 67 5f 08 73 5f 08 65 5f 08 74 5f 08 6d 5f 08 ┆ The _ s_ i_ g_ s_ e_ t_ m_ ┆ 0x06c0…06e0 6f 5f 08 64 5f 08 65 20 73 79 73 74 65 6d 20 63 61 6c 6c 20 63 61 6e 20 62 65 20 75 73 65 64 20 ┆o_ d_ e system call can be used ┆ 0x06e0…0700 74 6f 20 63 68 61 6e 67 65 20 74 68 65 20 73 69 67 6e 61 6c 0a 20 20 20 20 20 6d 6f 64 65 20 6f ┆to change the signal mode o┆ 0x0700…0720 66 20 74 68 65 20 65 78 65 63 75 74 69 6e 67 20 70 72 6f 63 65 73 73 20 6f 72 20 74 6f 20 72 65 ┆f the executing process or to re┆ 0x0720…0740 74 75 72 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 65 74 2d 0a 20 20 20 20 20 74 69 6e 67 2e ┆turn the current set- ting.┆ 0x0740…0760 0a 0a 20 20 20 20 20 54 68 65 20 73 79 73 74 65 6d 20 61 73 73 6f 63 69 61 74 65 73 20 61 20 73 ┆ The system associates a s┆ 0x0760…0780 69 67 6e 61 6c 20 6d 6f 64 65 20 77 69 74 68 20 65 61 63 68 20 70 72 6f 63 65 73 73 2e 20 20 54 ┆ignal mode with each process. T┆ 0x0780…07a0 68 69 73 0a 20 20 20 20 20 6d 6f 64 65 20 63 6f 6e 74 61 69 6e 73 20 74 77 6f 20 63 6f 6d 70 6f ┆his mode contains two compo┆ 0x07a0…07c0 6e 65 6e 74 73 2c 20 74 68 65 20 60 60 73 79 73 74 65 6d 2d 63 61 6c 6c 20 72 65 73 74 61 72 74 ┆nents, the ``system-call restart┆ 0x07c0…07e0 27 27 0a 20 20 20 20 20 6d 6f 64 65 2c 20 61 6e 64 20 74 68 65 20 60 60 73 69 67 6e 61 6c 2d 63 ┆'' mode, and the ``signal-c┆ 0x07e0…0800 61 74 63 68 69 6e 67 20 6d 6f 64 65 27 27 2e 20 20 45 61 63 68 20 6f 66 20 74 68 65 73 65 20 63 ┆atching mode''. Each of these c┆ 0x0800…0820 6f 6d 2d 0a 20 20 20 20 20 70 6f 6e 65 6e 74 73 20 68 61 73 20 74 77 6f 20 73 74 61 74 65 73 2e ┆om- ponents has two states.┆ 0x0820…0840 20 20 41 20 60 60 6d 6f 64 65 20 77 6f 72 64 27 27 20 69 73 20 74 68 65 20 61 67 67 72 65 67 61 ┆ A ``mode word'' is the aggrega┆ 0x0840…0860 74 65 20 6f 66 0a 20 20 20 20 20 74 68 65 73 65 20 74 77 6f 20 63 6f 6d 70 6f 6e 65 6e 74 73 2c ┆te of these two components,┆ 0x0860…0880 20 63 6f 6e 74 61 69 6e 69 6e 67 20 61 20 73 69 6e 67 6c 65 20 62 69 74 20 66 6f 72 20 65 61 63 ┆ containing a single bit for eac┆ 0x0880…08a0 68 2e 20 20 54 68 65 0a 20 20 20 20 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 6f 66 20 61 20 ┆h. The default value of a ┆ 0x08a0…08c0 70 72 6f 63 65 73 73 27 73 20 73 69 67 6e 61 6c 20 6d 6f 64 65 20 69 73 20 53 49 47 5f 52 53 54 ┆process's signal mode is SIG_RST┆ 0x08c0…08e0 49 4e 54 52 2e 0a 0a 20 20 20 20 20 5f 08 6e 5f 08 65 5f 08 77 5f 5f 08 6d 5f 08 6f 5f 08 64 5f ┆INTR. _ n_ e_ w__ m_ o_ d_┆ 0x08e0…0900 08 65 20 20 41 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 6e 20 69 6e 74 65 67 65 72 2c 20 63 6f 6e ┆ e A pointer to an integer, con┆ 0x0900…0920 74 61 69 6e 69 6e 67 20 61 20 6e 65 77 20 73 69 67 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 ┆taining a new signal ┆ 0x0920…0940 20 20 20 20 6d 6f 64 65 20 66 6f 72 20 74 68 65 20 65 78 65 63 75 74 69 6e 67 20 70 72 6f 63 65 ┆ mode for the executing proce┆ 0x0940…0960 73 73 2e 20 20 49 66 20 6e 65 77 5f 6d 6f 64 65 20 3d 3d 20 30 2c 0a 20 20 20 20 20 20 20 20 20 ┆ss. If new_mode == 0, ┆ 0x0960…0980 20 20 20 20 20 20 74 68 65 6e 20 61 20 6e 65 77 20 6d 6f 64 65 20 69 73 20 6e 6f 74 20 73 65 74 ┆ then a new mode is not set┆ 0x0980…09a0 2e 0a 0a 20 20 20 20 20 5f 08 6f 5f 08 6c 5f 08 64 5f 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65 20 20 ┆. _ o_ l_ d__ m_ o_ d_ e ┆ 0x09a0…09c0 41 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 6e 20 69 6e 74 65 67 65 72 2c 20 74 6f 20 72 65 74 75 ┆A pointer to an integer, to retu┆ 0x09c0…09e0 72 6e 20 74 68 65 20 73 69 67 6e 61 6c 20 6d 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆rn the signal mode ┆ 0x09e0…0a00 20 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e 74 6c 79 20 65 78 65 63 75 74 69 6e 67 20 70 72 6f ┆ of the currently executing pro┆ 0x0a00…0a20 63 65 73 73 2e 20 20 49 66 20 6f 6c 64 5f 6d 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆cess. If old_mode ┆ 0x0a20…0a40 20 20 3d 3d 20 30 2c 20 74 68 65 6e 20 6e 6f 20 76 61 6c 75 65 20 69 73 20 72 65 74 75 72 6e 65 ┆ == 0, then no value is returne┆ 0x0a40…0a60 64 2e 0a 0a 20 20 20 20 20 54 68 69 73 20 63 61 6c 6c 20 61 6c 6c 6f 77 73 20 73 77 69 74 63 68 ┆d. This call allows switch┆ 0x0a60…0a80 69 6e 67 20 62 65 74 77 65 65 6e 20 54 58 20 73 69 67 6e 61 6c 20 68 61 6e 64 6c 69 6e 67 20 61 ┆ing between TX signal handling a┆ 0x0a80…0aa0 6e 64 0a 20 20 20 20 20 53 79 73 74 65 6d 20 56 2d 6c 69 6b 65 20 73 69 67 6e 61 6c 20 68 61 6e ┆nd System V-like signal han┆ 0x0aa0…0ac0 64 6c 69 6e 67 2e 0a 0a 20 20 20 20 20 53 08 53 08 53 08 53 79 08 79 08 79 08 79 73 08 73 08 73 ┆dling. S S S Sy y y ys s s┆ 0x0ac0…0ae0 08 73 74 08 74 08 74 08 74 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 2d 08 2d 08 2d 08 2d 43 08 ┆ st t t te e e em m m m- - - -C ┆ 0x0ae0…0b00 43 08 43 08 43 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 6c 08 6c 08 6c 08 6c 20 52 08 52 08 52 ┆C C Ca a a al l l ll l l l R R R┆ 0x0b00…0b20 08 52 65 08 65 08 65 08 65 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 72 08 ┆ Re e e es s s st t t ta a a ar ┆ 0x0b20…0b40 72 08 72 08 72 74 08 74 08 74 08 74 20 4d 08 4d 08 4d 08 4d 6f 08 6f 08 6f 08 6f 64 08 64 08 64 ┆r r rt t t t M M M Mo o o od d d┆ 0x0b40…0b60 08 64 65 08 65 08 65 08 65 0a 20 20 20 20 20 49 66 20 53 49 47 5f 52 53 54 49 4e 54 52 20 69 73 ┆ de e e e If SIG_RSTINTR is┆ 0x0b60…0b80 20 73 65 74 20 28 74 68 65 20 64 65 66 61 75 6c 74 29 2c 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e ┆ set (the default), the followin┆ 0x0b80…0ba0 67 20 73 79 73 74 65 6d 0a 20 20 20 20 20 63 61 6c 6c 73 20 61 72 65 20 72 65 73 74 61 72 74 65 ┆g system calls are restarte┆ 0x0ba0…0bc0 64 20 61 66 74 65 72 20 69 6e 74 65 72 72 75 70 74 69 6f 6e 20 61 20 75 73 65 72 27 73 20 73 69 ┆d after interruption a user's si┆ 0x0bc0…0be0 67 6e 61 6c 0a 20 20 20 20 20 68 61 6e 64 6c 65 72 2e 20 20 54 68 65 73 65 20 63 61 6c 6c 73 20 ┆gnal handler. These calls ┆ 0x0be0…0c00 61 72 65 20 61 66 66 65 63 74 65 64 3a 20 5f 08 61 5f 08 74 5f 08 74 5f 08 61 5f 08 63 5f 08 68 ┆are affected: _ a_ t_ t_ a_ c_ h┆ 0x0c00…0c20 2c 20 5f 08 66 5f 08 6c 5f 08 6f 5f 08 63 5f 08 6b 2c 20 5f 08 6d 5f 08 62 5f 08 6c 5f 08 6f 5f ┆, _ f_ l_ o_ c_ k, _ m_ b_ l_ o_┆ 0x0c20…0c40 08 63 5f 08 6b 2c 0a 20 20 20 20 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 2c 20 5f 08 72 5f 08 65 ┆ c_ k, _ o_ p_ e_ n, _ r_ e┆ 0x0c40…0c60 5f 08 61 5f 08 64 2c 20 5f 08 72 5f 08 65 5f 08 61 5f 08 64 5f 08 76 2c 20 5f 08 74 5f 08 72 5f ┆_ a_ d, _ r_ e_ a_ d_ v, _ t_ r_┆ 0x0c60…0c80 08 61 5f 08 6e 5f 08 73 2c 20 5f 08 77 5f 08 61 5f 08 69 5f 08 74 2c 20 5f 08 77 5f 08 61 5f 08 ┆ a_ n_ s, _ w_ a_ i_ t, _ w_ a_ ┆ 0x0c80…0ca0 69 5f 08 74 5f 08 33 2c 20 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 2c 20 5f 08 61 5f 08 6e ┆i_ t_ 3, _ w_ r_ i_ t_ e, _ a_ n┆ 0x0ca0…0cc0 5f 08 64 20 5f 08 77 5f 08 72 5f 08 69 5f 08 74 5f 08 65 5f 08 76 2e 0a 0a 20 20 20 20 20 49 66 ┆_ d _ w_ r_ i_ t_ e_ v. If┆ 0x0cc0…0ce0 20 53 49 47 5f 52 53 54 49 4e 54 52 20 69 73 20 6e 08 6e 08 6e 08 6e 6f 08 6f 08 6f 08 6f 74 08 ┆ SIG_RSTINTR is n n n no o o ot ┆ 0x0ce0…0d00 74 08 74 08 74 20 73 65 74 2c 20 65 76 65 72 79 20 73 79 73 74 65 6d 20 63 61 6c 6c 20 69 73 20 ┆t t t set, every system call is ┆ 0x0d00…0d20 74 65 72 6d 69 6e 61 74 65 64 0a 20 20 20 20 20 77 69 74 68 20 74 68 65 20 45 49 4e 54 52 20 65 ┆terminated with the EINTR e┆ 0x0d20…0d40 72 72 6f 72 20 63 6f 64 65 20 69 66 20 69 6e 74 65 72 72 75 70 74 65 64 20 62 79 20 61 20 75 73 ┆rror code if interrupted by a us┆ 0x0d40…0d60 65 72 27 73 20 73 69 67 6e 61 6c 0a 20 20 20 20 20 68 61 6e 64 6c 65 72 20 69 6e 76 6f 63 61 74 ┆er's signal handler invocat┆ 0x0d60…0d80 69 6f 6e 2e 0a 0a 20 20 20 20 20 53 08 53 08 53 08 53 69 08 69 08 69 08 69 67 08 67 08 67 08 67 ┆ion. S S S Si i i ig g g g┆ 0x0d80…0da0 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 2d 08 2d 08 2d 08 2d 43 08 43 08 ┆n n n na a a al l l l- - - -C C ┆ 0x0da0…0dc0 43 08 43 61 08 61 08 61 08 61 74 08 74 08 74 08 74 63 08 63 08 63 08 63 68 08 68 08 68 08 68 69 ┆C Ca a a at t t tc c c ch h h hi┆ 0x0dc0…0de0 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 4d 08 4d 08 4d 08 4d 6f 08 6f 08 ┆ i i in n n ng g g g M M M Mo o ┆ 0x0de0…0e00 6f 08 6f 64 08 64 08 64 08 64 65 08 65 08 65 08 65 0a 20 20 20 20 20 53 49 47 5f 52 45 53 45 54 ┆o od d d de e e e SIG_RESET┆ 0x0e00…0e20 44 46 4c 20 69 73 20 73 65 74 2c 20 74 68 65 20 73 69 67 6e 61 6c 20 61 63 74 69 6f 6e 20 69 73 ┆DFL is set, the signal action is┆ 0x0e20…0e40 20 72 65 73 65 74 20 74 6f 20 74 68 65 0a 20 20 20 20 20 64 65 66 61 75 6c 74 20 28 53 49 47 5f ┆ reset to the default (SIG_┆ 0x0e40…0e60 44 46 4c 29 20 77 68 65 6e 20 74 68 65 20 75 73 65 72 27 73 20 73 69 67 6e 61 6c 20 68 61 6e 64 ┆DFL) when the user's signal hand┆ 0x0e60…0e80 6c 65 72 20 69 73 20 69 6e 76 6f 6b 65 64 2c 0a 20 20 20 20 20 61 6e 64 20 74 68 65 20 73 69 67 ┆ler is invoked, and the sig┆ 0x0e80…0ea0 6e 61 6c 20 69 73 20 6e 6f 74 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 62 6c 6f 63 6b 65 64 ┆nal is not automatically blocked┆ 0x0ea0…0ec0 20 77 68 69 6c 65 20 65 78 65 63 75 74 69 6e 67 0a 20 20 20 20 20 74 68 65 20 68 61 6e 64 6c 65 ┆ while executing the handle┆ 0x0ec0…0ee0 72 2e 20 20 48 6f 77 65 76 65 72 2c 20 73 69 67 6e 61 6c 73 20 63 61 6e 20 73 74 69 6c 6c 20 62 ┆r. However, signals can still b┆ 0x0ee0…0f00 65 20 62 6c 6f 63 6b 65 64 20 28 77 68 65 6e 0a 20 20 20 20 20 74 68 65 20 73 69 67 6e 61 6c 20 ┆e blocked (when the signal ┆ 0x0f00…0f20 69 73 20 63 61 75 67 68 74 29 20 76 69 61 20 74 68 65 20 73 08 73 08 73 08 73 76 08 76 08 76 08 ┆is caught) via the s s s sv v v ┆ 0x0f20…0f40 76 5f 08 5f 08 5f 08 5f 6d 08 6d 08 6d 08 6d 61 08 61 08 61 08 61 73 08 73 08 73 08 73 6b 08 6b ┆v_ _ _ _m m m ma a a as s s sk k┆ 0x0f40…0f60 08 6b 08 6b 20 70 61 72 61 6d 65 74 65 72 20 74 6f 20 5f 08 73 5f 08 69 5f 08 67 5f 08 76 5f 08 ┆ k k parameter to _ s_ i_ g_ v_ ┆ 0x0f60…0f80 65 5f 08 63 2e 0a 0a 20 20 20 20 20 49 66 20 53 49 47 5f 52 45 53 45 54 44 46 4c 20 69 73 20 6e ┆e_ c. If SIG_RESETDFL is n┆ 0x0f80…0fa0 6f 74 20 73 65 74 20 28 74 68 65 20 64 65 66 61 75 6c 74 29 2c 20 74 68 65 20 61 63 74 69 6f 6e ┆ot set (the default), the action┆ 0x0fa0…0fc0 20 61 73 73 6f 63 69 2d 0a 20 20 20 20 20 61 74 65 64 20 77 69 74 68 20 61 20 73 69 67 6e 61 6c ┆ associ- ated with a signal┆ 0x0fc0…0fe0 20 69 73 20 6e 6f 74 20 63 68 61 6e 67 65 64 20 77 68 65 6e 20 74 68 61 74 20 73 69 67 6e 61 6c ┆ is not changed when that signal┆ 0x0fe0…1000 20 69 73 0a 20 20 20 20 20 63 61 75 67 68 74 2e 20 20 49 6e 20 61 64 64 69 74 69 6f 6e 2c 20 74 ┆ is caught. In addition, t┆ 0x1000…1020 68 65 20 63 61 75 67 68 74 20 73 69 67 6e 61 6c 20 69 73 20 62 6c 6f 63 6b 65 64 20 77 68 69 6c ┆he caught signal is blocked whil┆ 0x1020…1040 65 20 74 68 65 0a 20 20 20 20 20 75 73 65 72 27 73 20 73 69 67 6e 61 6c 20 68 61 6e 64 6c 65 72 ┆e the user's signal handler┆ 0x1040…1060 20 69 73 20 65 78 65 63 75 74 69 6e 67 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 52 08 52 08 ┆ is executing. R R ┆ 0x1060…1080 52 08 52 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 61 08 61 08 61 08 61 74 08 74 08 74 08 74 69 ┆R Re e e el l l la a a at t t ti┆ 0x1080…10a0 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 20 74 08 74 08 74 08 74 6f 08 6f 08 ┆ i i io o o on n n n t t t to o ┆ 0x10a0…10c0 6f 08 6f 20 4f 08 4f 08 4f 08 4f 74 08 74 08 74 08 74 68 08 68 08 68 08 68 65 08 65 08 65 08 65 ┆o o O O O Ot t t th h h he e e e┆ 0x10c0…10e0 72 08 72 08 72 08 72 20 53 08 53 08 53 08 53 79 08 79 08 79 08 79 73 08 73 08 73 08 73 74 08 74 ┆r r r r S S S Sy y y ys s s st t┆ 0x10e0…1100 08 74 08 74 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 20 43 08 43 08 43 08 43 61 08 61 08 61 08 ┆ t te e e em m m m C C C Ca a a ┆ 0x1100…1120 61 6c 08 6c 08 6c 08 6c 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 0a 20 20 20 20 20 54 68 65 20 ┆al l l ll l l ls s s s The ┆ 0x1120…1140 73 69 67 6e 61 6c 20 6d 6f 64 65 20 6d 61 79 20 62 65 20 61 66 66 65 63 74 65 64 20 62 79 20 6f ┆signal mode may be affected by o┆ 0x1140…1160 74 68 65 72 20 73 79 73 74 65 6d 20 63 61 6c 6c 73 2e 0a 20 20 20 20 20 5f 08 65 5f 08 78 5f 08 ┆ther system calls. _ e_ x_ ┆ 0x1160…1180 65 5f 08 63 5f 08 76 5f 08 65 3a 20 20 41 6e 20 5f 08 65 5f 08 78 5f 08 65 5f 08 63 5f 08 76 5f ┆e_ c_ v_ e: An _ e_ x_ e_ c_ v_┆ 0x1180…11a0 08 65 20 72 65 73 65 74 73 20 74 68 65 20 73 69 67 6e 61 6c 20 6d 6f 64 65 20 74 6f 20 74 68 65 ┆ e resets the signal mode to the┆ 0x11a0…11c0 20 64 65 66 61 75 6c 74 0a 20 20 20 20 20 76 61 6c 75 65 20 28 53 49 47 5f 52 53 54 49 4e 54 52 ┆ default value (SIG_RSTINTR┆ 0x11c0…11e0 29 2e 0a 20 20 20 20 20 5f 08 72 5f 08 75 5f 08 6e 3a 20 20 5f 08 72 5f 08 75 5f 08 6e 20 63 72 ┆). _ r_ u_ n: _ r_ u_ n cr┆ 0x11e0…1200 65 61 74 65 73 20 61 20 70 72 6f 63 65 73 73 20 77 69 74 68 20 74 68 65 20 73 69 67 6e 61 6c 20 ┆eates a process with the signal ┆ 0x1200…1220 6d 6f 64 65 20 73 65 74 20 74 6f 20 74 68 65 0a 20 20 20 20 20 64 65 66 61 75 6c 74 20 76 61 6c ┆mode set to the default val┆ 0x1220…1240 75 65 20 28 53 49 47 5f 52 53 54 49 4e 54 52 29 2e 0a 20 20 20 20 20 5f 08 66 5f 08 6f 5f 08 72 ┆ue (SIG_RSTINTR). _ f_ o_ r┆ 0x1240…1260 5f 08 6b 2f 5f 08 76 5f 08 66 5f 08 6f 5f 08 72 5f 08 6b 3a 20 54 68 65 20 73 69 67 6e 61 6c 20 ┆_ k/_ v_ f_ o_ r_ k: The signal ┆ 0x1260…1280 6d 6f 64 65 20 6f 66 20 74 68 65 20 63 68 69 6c 64 20 69 73 20 74 68 65 20 73 61 6d 65 20 73 69 ┆mode of the child is the same si┆ 0x1280…12a0 67 6e 61 6c 0a 20 20 20 20 20 6d 6f 64 65 20 6f 66 20 74 68 65 20 70 61 72 65 6e 74 2e 0a 0a 52 ┆gnal mode of the parent. R┆ 0x12a0…12c0 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 ┆ R R RE E E ET T T TU U U UR R R┆ 0x12c0…12e0 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 ┆ RN N N N V V V VA A A AL L L LU┆ 0x12e0…1300 08 55 08 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 30 20 69 6e 64 69 63 61 74 65 73 20 74 ┆ U U UE E E E 0 indicates t┆ 0x1300…1320 68 61 74 20 74 68 65 20 63 61 6c 6c 20 73 75 63 63 65 65 64 65 64 2e 20 20 2d 31 20 72 65 74 75 ┆hat the call succeeded. -1 retu┆ 0x1320…1340 72 6e 20 76 61 6c 75 65 20 69 6e 64 69 2d 0a 20 20 20 20 20 63 61 74 65 73 20 61 6e 20 65 72 72 ┆rn value indi- cates an err┆ 0x1340…1360 6f 72 20 6f 63 63 75 72 65 64 20 61 6e 64 20 65 72 72 6e 6f 20 69 6e 64 69 63 61 74 65 73 20 74 ┆or occured and errno indicates t┆ 0x1360…1380 68 65 20 72 65 61 73 6f 6e 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 ┆he reason. E E E ER R R RR R R ┆ 0x1380…13a0 52 4f 08 4f 08 4f 08 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 5b 45 46 41 ┆RO O O OR R R RS S S S [EFA┆ 0x13a0…13c0 55 4c 54 5d 20 20 20 20 20 20 20 20 20 20 20 20 45 69 74 68 65 72 20 5f 08 6e 5f 08 65 5f 08 77 ┆ULT] Either _ n_ e_ w┆ 0x13c0…13e0 5f 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65 20 6f 72 20 5f 08 6f 5f 08 6c 5f 08 64 5f 5f 08 6d 5f 08 ┆__ m_ o_ d_ e or _ o_ l_ d__ m_ ┆ 0x13e0…1400 6f 5f 08 64 5f 08 65 20 70 6f 69 6e 74 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆o_ d_ e points to ┆ 0x1400…1420 20 20 20 20 20 20 20 20 20 20 20 6d 65 6d 6f 72 79 20 77 68 69 63 68 20 69 73 20 6e 6f 74 20 70 ┆ memory which is not p┆ 0x1420…1440 61 72 74 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆art of the ┆ 0x1440…1460 20 20 20 20 70 72 6f 63 65 73 73 27 73 20 61 64 64 72 65 73 73 20 73 70 61 63 65 2e 0a 0a 20 20 ┆ process's address space. ┆ 0x1460…1480 20 20 20 5b 45 49 4e 56 41 4c 5d 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 73 70 65 63 69 ┆ [EINVAL] The speci┆ 0x1480…14a0 66 69 65 64 20 6e 65 77 20 73 69 67 6e 61 6c 20 6d 6f 64 65 20 69 73 20 69 6e 76 61 6c 69 64 0a ┆fied new signal mode is invalid ┆ 0x14a0…14c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 63 6f 6e 74 61 69 ┆ (contai┆ 0x14c0…14e0 6e 73 20 75 6e 64 65 66 69 6e 65 64 20 62 69 74 73 29 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 ┆ns undefined bits). S S S SE E ┆ 0x14e0…1500 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 ┆E EE E E E A A A AL L L LS S S S┆ 0x1500…1520 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 20 ┆O O O O System Calls (2): ┆ 0x1520…1540 65 78 65 63 2c 20 66 6f 72 6b 2c 20 72 75 6e 2c 20 73 69 67 76 65 63 2c 20 76 66 6f 72 6b 0a 20 ┆exec, fork, run, sigvec, vfork ┆ 0x1540…1560 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 20 73 69 67 6e ┆ Library Functions (3): sign┆ 0x1560…1580 61 6c 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆al March 1989 ┆ 0x1580…15a0 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 ┆ TX Programmer's Refe┆ 0x15a0…15c0 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆rence ┆ 0x15c0…15c8 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆