|
|
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: 5881 (0x16f9)
Names: »signal.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat2/signal.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 20 20 20 20 73 69 67 6e 61 6c 28 32 29 0a 0a 0a 0a ┆s signal(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 6e 61 6c 20 2d 20 73 70 65 63 69 66 79 20 77 68 61 74 20 74 6f 20 64 6f 20 75 70 ┆ signal - specify what to do up┆ 0x00a0…00c0 6f 6e 20 72 65 63 65 69 70 74 20 6f 66 20 61 20 73 69 67 6e 61 6c 0a 0a 53 08 53 08 53 08 53 59 ┆on receipt of a signal S S S SY┆ 0x00c0…00e0 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 08 58 08 58 ┆ Y Y YN N N NT T T TA A A AX X X┆ 0x00e0…0100 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 6e 63 08 63 ┆ X # # # #i i i in n n nc c┆ 0x0100…0120 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 08 65 08 65 ┆ c cl l l lu u u ud d d de e e e┆ 0x0120…0140 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 67 6e 08 6e ┆ < < < <s s s si i i ig g g gn n┆ 0x0140…0160 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 08 68 08 68 ┆ n na a a al l l l. . . .h h h h┆ 0x0160…0180 3e 08 3e 08 3e 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 ┆> > > > i i i in n n nt t ┆ 0x0180…01a0 74 08 74 20 28 08 28 08 28 08 28 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 69 08 69 08 69 08 69 ┆t t ( ( ( (* * * *s s s si i i i┆ 0x01a0…01c0 67 08 67 08 67 08 67 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 20 28 08 28 ┆g g g gn n n na a a al l l l ( (┆ 0x01c0…01e0 08 28 08 28 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 67 08 67 2c 08 2c 08 2c 08 2c ┆ ( (s s s si i i ig g g g, , , ,┆ 0x01e0…0200 20 66 08 66 08 66 08 66 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 29 08 29 ┆ f f f fu u u un n n nc c c c) )┆ 0x0200…0220 08 29 08 29 29 08 29 08 29 08 29 28 08 28 08 28 08 28 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 ┆ ) )) ) ) )( ( ( () ) ) ) i┆ 0x0220…0240 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 69 08 69 08 ┆ i i in n n nt t t t s s s si i ┆ 0x0240…0260 69 08 69 67 08 67 08 67 08 67 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 ┆i ig g g g; ; ; ; i i i in ┆ 0x0260…0280 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 28 08 28 08 28 08 28 2a 08 2a 08 2a 08 2a 66 08 66 08 66 ┆n n nt t t t ( ( ( (* * * *f f f┆ 0x0280…02a0 08 66 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 29 08 29 08 29 08 29 28 08 ┆ fu u u un n n nc c c c) ) ) )( ┆ 0x02a0…02c0 28 08 28 08 28 29 08 29 08 29 08 29 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 ┆( ( () ) ) ); ; ; ; D D D DE E ┆ 0x02c0…02e0 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 49 50 ┆E ES S S SC C C CR R R RI I I IP┆ 0x02e0…0300 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 08 4e ┆ P P PT T T TI I I IO O O ON N N┆ 0x0300…0320 08 4e 0a 20 20 20 20 20 5f 08 73 5f 08 69 5f 08 67 5f 08 6e 5f 08 61 5f 08 6c 20 61 6c 6c 6f 77 ┆ N _ s_ i_ g_ n_ a_ l allow┆ 0x0320…0340 73 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73 20 74 6f 20 63 68 6f 6f 73 65 20 ┆s the calling process to choose ┆ 0x0340…0360 6f 6e 65 20 6f 66 20 74 68 72 65 65 0a 20 20 20 20 20 77 61 79 73 20 69 6e 20 77 68 69 63 68 20 ┆one of three ways in which ┆ 0x0360…0380 69 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 68 61 6e 64 6c 65 20 74 68 65 20 72 65 63 ┆it is possible to handle the rec┆ 0x0380…03a0 65 69 70 74 20 6f 66 20 61 0a 20 20 20 20 20 73 70 65 63 69 66 69 63 20 73 69 67 6e 61 6c 2e 20 ┆eipt of a specific signal. ┆ 0x03a0…03c0 20 5f 08 73 5f 08 69 5f 08 67 20 73 70 65 63 69 66 69 65 73 20 74 68 65 20 73 69 67 6e 61 6c 20 ┆ _ s_ i_ g specifies the signal ┆ 0x03c0…03e0 61 6e 64 20 5f 08 66 5f 08 75 5f 08 6e 5f 08 63 20 73 70 65 63 69 2d 0a 20 20 20 20 20 66 69 65 ┆and _ f_ u_ n_ c speci- fie┆ 0x03e0…0400 73 20 74 68 65 20 63 68 6f 69 63 65 2e 20 20 5f 08 73 5f 08 69 5f 08 67 20 63 61 6e 20 62 65 20 ┆s the choice. _ s_ i_ g can be ┆ 0x0400…0420 61 73 73 69 67 6e 65 64 20 61 6e 79 20 6f 6e 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 2d 0a ┆assigned any one of the follow- ┆ 0x0420…0440 20 20 20 20 20 69 6e 67 20 65 78 63 65 70 74 20 53 49 47 4b 49 4c 4c 20 3a 0a 0a 20 20 20 20 20 ┆ ing except SIGKILL : ┆ 0x0440…0460 2a 20 54 68 65 20 64 65 66 61 75 6c 74 20 61 63 74 69 6f 6e 20 66 6f 72 20 74 68 65 73 65 20 73 ┆* The default action for these s┆ 0x0460…0480 69 67 6e 61 6c 73 20 69 73 20 61 6e 20 61 62 6e 6f 72 6d 61 6c 20 70 72 6f 2d 0a 20 20 20 20 20 ┆ignals is an abnormal pro- ┆ 0x0480…04a0 63 65 73 73 20 74 65 72 6d 69 6e 61 74 69 6f 6e 2e 20 20 53 65 65 20 53 49 47 5f 44 46 4c 20 62 ┆cess termination. See SIG_DFL b┆ 0x04a0…04c0 65 6c 6f 77 2e 0a 0a 20 20 20 20 20 5b 53 49 47 48 55 50 5d 20 20 20 20 20 20 20 68 61 6e 67 75 ┆elow. [SIGHUP] hangu┆ 0x04c0…04e0 70 0a 0a 20 20 20 20 20 5b 53 49 47 49 4e 54 5d 20 20 20 20 20 20 20 69 6e 74 65 72 72 75 70 74 ┆p [SIGINT] interrupt┆ 0x04e0…0500 0a 0a 20 20 20 20 20 5b 53 49 47 51 55 49 54 5d 20 20 20 20 20 20 71 75 69 74 2a 0a 0a 20 20 20 ┆ [SIGQUIT] quit* ┆ 0x0500…0520 20 20 5b 53 49 47 49 4c 4c 5d 20 20 20 20 20 20 20 69 6c 6c 65 67 61 6c 20 69 6e 73 74 72 75 63 ┆ [SIGILL] illegal instruc┆ 0x0520…0540 74 69 6f 6e 20 28 6e 6f 74 20 72 65 73 65 74 20 77 68 65 6e 20 63 61 75 67 68 74 29 2a 0a 0a 20 ┆tion (not reset when caught)* ┆ 0x0540…0560 20 20 20 20 5b 53 49 47 54 52 41 50 5d 20 20 20 20 20 20 74 72 61 63 65 20 74 72 61 70 20 28 6e ┆ [SIGTRAP] trace trap (n┆ 0x0560…0580 6f 74 20 72 65 73 65 74 20 77 68 65 6e 20 63 61 75 67 68 74 29 2a 0a 0a 20 20 20 20 20 5b 53 49 ┆ot reset when caught)* [SI┆ 0x0580…05a0 47 41 42 52 54 5d 20 20 20 20 20 20 61 62 6f 72 74 2a 0a 0a 20 20 20 20 20 5b 53 49 47 46 50 45 ┆GABRT] abort* [SIGFPE┆ 0x05a0…05c0 5d 20 20 20 20 20 20 20 66 6c 6f 61 74 69 6e 67 20 70 6f 69 6e 74 20 65 78 63 65 70 74 69 6f 6e ┆] floating point exception┆ 0x05c0…05e0 2a 0a 0a 20 20 20 20 20 5b 53 49 47 4b 49 4c 4c 5d 20 20 20 20 20 20 6b 69 6c 6c 20 28 63 61 6e ┆* [SIGKILL] kill (can┆ 0x05e0…0600 6e 6f 74 20 62 65 20 63 61 75 67 68 74 20 6f 72 20 69 67 6e 6f 72 65 64 29 0a 0a 20 20 20 20 20 ┆not be caught or ignored) ┆ 0x0600…0620 5b 53 49 47 53 59 53 5d 20 20 20 20 20 20 20 62 61 64 20 61 72 67 75 6d 65 6e 74 20 72 6f 75 74 ┆[SIGSYS] bad argument rout┆ 0x0620…0640 69 6e 65 2a 0a 0a 20 20 20 20 20 5b 53 49 47 50 49 50 45 5d 20 20 20 20 20 20 77 72 69 74 65 20 ┆ine* [SIGPIPE] write ┆ 0x0640…0660 6f 6e 20 61 20 70 69 70 65 20 77 69 74 68 20 6e 6f 20 6f 6e 65 20 74 6f 20 72 65 61 64 20 69 74 ┆on a pipe with no one to read it┆ 0x0660…0680 0a 0a 20 20 20 20 20 5b 53 49 47 41 4c 52 4d 5d 20 20 20 20 20 20 61 6c 61 72 6d 20 63 6c 6f 63 ┆ [SIGALRM] alarm cloc┆ 0x0680…06a0 6b 0a 0a 20 20 20 20 20 5b 53 49 47 54 45 52 4d 5d 20 20 20 20 20 20 73 6f 66 74 77 61 72 65 20 ┆k [SIGTERM] software ┆ 0x06a0…06c0 74 65 72 6d 69 6e 61 74 69 6f 6e 20 73 69 67 6e 61 6c 0a 0a 20 20 20 20 20 5b 53 49 47 55 53 52 ┆termination signal [SIGUSR┆ 0x06c0…06e0 20 31 5d 20 20 20 20 20 75 73 65 72 2d 64 65 66 69 6e 65 64 20 73 69 67 6e 61 6c 20 31 0a 0a 20 ┆ 1] user-defined signal 1 ┆ 0x06e0…0700 20 20 20 20 5b 53 49 47 55 53 52 20 32 5d 20 20 20 20 20 75 73 65 72 2d 64 65 66 69 6e 65 64 20 ┆ [SIGUSR 2] user-defined ┆ 0x0700…0720 73 69 67 6e 61 6c 20 32 0a 0a 20 20 20 20 20 46 6f 72 20 70 6f 72 74 61 62 69 6c 69 74 79 2c 20 ┆signal 2 For portability, ┆ 0x0720…0740 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 73 68 6f 75 6c 64 20 75 73 65 20 6f 72 20 63 61 74 63 68 ┆applications should use or catch┆ 0x0740…0760 20 5f 08 6f 5f 08 6e 5f 08 6c 5f 08 79 20 74 68 65 0a 20 20 20 20 20 73 69 67 6e 61 6c 73 20 6c ┆ _ o_ n_ l_ y the signals l┆ 0x0760…0780 69 73 74 65 64 20 61 62 6f 76 65 2e 20 4f 74 68 65 72 20 73 69 67 6e 61 6c 73 20 61 72 65 20 68 ┆isted above. Other signals are h┆ 0x0780…07a0 61 72 64 77 61 72 65 20 61 6e 64 0a 20 20 20 20 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 2d ┆ardware and implementation-┆ 0x07a0…07c0 64 65 70 65 6e 64 65 6e 74 20 61 6e 64 20 6d 61 79 20 68 61 76 65 20 76 65 72 79 20 64 69 66 66 ┆dependent and may have very diff┆ 0x07c0…07e0 65 72 65 6e 74 20 6d 65 61 6e 2d 0a 20 20 20 20 20 69 6e 67 73 20 6f 72 20 72 65 73 75 6c 74 73 ┆erent mean- ings or results┆ 0x07e0…0800 20 61 63 72 6f 73 73 20 73 79 73 74 65 6d 73 2e 0a 0a 20 20 20 20 20 5f 08 66 5f 08 75 5f 08 6e ┆ across systems. _ f_ u_ n┆ 0x0800…0820 5f 08 63 20 69 73 20 61 73 73 69 67 6e 65 64 20 6f 6e 65 20 6f 66 20 74 68 72 65 65 20 76 61 6c ┆_ c is assigned one of three val┆ 0x0820…0840 75 65 73 3a 20 53 49 47 5f 44 46 4c 20 2c 20 53 49 47 5f 49 47 4e 20 2c 20 6f 72 0a 20 20 20 20 ┆ues: SIG_DFL , SIG_IGN , or ┆ 0x0840…0860 20 61 6e 20 5f 08 61 5f 08 64 5f 08 64 5f 08 72 5f 08 65 5f 08 73 5f 08 73 20 6f 66 20 61 20 73 ┆ an _ a_ d_ d_ r_ e_ s_ s of a s┆ 0x0860…0880 69 67 6e 61 6c 2d 63 61 74 63 68 69 6e 67 20 66 75 6e 63 74 69 6f 6e 2e 20 5f 08 66 5f 08 75 5f ┆ignal-catching function. _ f_ u_┆ 0x0880…08a0 08 6e 5f 08 63 20 69 73 20 64 65 63 6c 61 72 65 64 0a 20 20 20 20 20 61 73 20 74 79 70 65 20 70 ┆ n_ c is declared as type p┆ 0x08a0…08c0 6f 69 6e 74 65 72 20 74 6f 20 61 20 66 75 6e 63 74 69 6f 6e 20 72 65 74 75 72 6e 69 6e 67 20 5f ┆ointer to a function returning _┆ 0x08c0…08e0 08 76 5f 08 6f 5f 08 69 5f 08 64 2e 20 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 0a 20 20 20 20 ┆ v_ o_ i_ d. The following ┆ 0x08e0…0900 20 61 63 74 69 6f 6e 73 20 61 72 65 20 70 72 65 73 63 72 69 62 65 64 20 62 79 20 74 68 65 73 65 ┆ actions are prescribed by these┆ 0x0900…0920 20 76 61 6c 75 65 73 3a 0a 0a 20 20 20 20 20 53 49 47 5f 44 46 4c 20 20 20 20 20 20 20 20 54 65 ┆ values: SIG_DFL Te┆ 0x0920…0940 72 6d 69 6e 61 74 65 20 70 72 6f 63 65 73 73 20 75 70 6f 6e 20 72 65 63 65 69 70 74 20 6f 66 20 ┆rminate process upon receipt of ┆ 0x0940…0960 61 20 73 69 67 6e 61 6c 2e 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆a signal. ┆ 0x0960…0980 20 20 20 20 55 70 6f 6e 20 72 65 63 65 69 70 74 20 6f 66 20 74 68 65 20 73 69 67 6e 61 6c 20 5f ┆ Upon receipt of the signal _┆ 0x0980…09a0 08 73 5f 08 69 5f 08 67 2c 20 74 68 65 20 72 65 63 65 69 76 69 6e 67 0a 20 20 20 20 20 20 20 20 ┆ s_ i_ g, the receiving ┆ 0x09a0…09c0 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 20 69 73 20 74 6f 20 62 65 20 74 65 72 ┆ process is to be ter┆ 0x09c0…09e0 6d 69 6e 61 74 65 64 20 77 69 74 68 20 61 6c 6c 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 ┆minated with all of the ┆ 0x09e0…0a00 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 65 71 75 65 6e 63 65 73 20 6f 75 74 6c 69 6e 65 ┆ consequences outline┆ 0x0a00…0a20 64 20 69 6e 20 5f 08 65 5f 08 78 5f 08 69 5f 08 74 28 32 29 2e 20 20 49 6e 20 61 64 64 69 2d 0a ┆d in _ e_ x_ i_ t(2). In addi- ┆ 0x0a20…0a40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6f 6e 2c 20 69 66 20 5f 08 73 ┆ tion, if _ s┆ 0x0a40…0a60 5f 08 69 5f 08 67 20 69 73 20 6f 6e 65 20 6f 66 20 74 68 65 20 73 69 67 6e 61 6c 73 20 73 68 6f ┆_ i_ g is one of the signals sho┆ 0x0a60…0a80 77 6e 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 20 2a ┆wn with an *┆ 0x0a80…0aa0 20 61 62 6f 76 65 2c 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 2d 64 65 70 65 6e 64 65 6e 74 ┆ above, implementation-dependent┆ 0x0aa0…0ac0 20 61 62 6e 6f 72 6d 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 ┆ abnormal pr┆ 0x0ac0…0ae0 6f 63 65 73 73 20 74 65 72 6d 69 6e 61 74 69 6f 6e 20 72 6f 75 74 69 6e 65 73 2c 20 73 75 63 68 ┆ocess termination routines, such┆ 0x0ae0…0b00 20 61 73 20 61 20 63 6f 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 ┆ as a core d┆ 0x0b00…0b20 75 6d 70 2c 20 6d 61 79 20 62 65 20 69 6e 76 6f 6b 65 64 2e 0a 0a 20 20 20 20 20 53 49 47 5f 49 ┆ump, may be invoked. SIG_I┆ 0x0b20…0b40 47 4e 20 20 20 20 20 20 20 20 49 67 6e 6f 72 65 20 73 69 67 6e 61 6c 2e 0a 0a 20 20 20 20 20 20 ┆GN Ignore signal. ┆ 0x0b40…0b60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 73 69 67 6e 61 6c 20 5f 08 73 5f 08 69 5f ┆ The signal _ s_ i_┆ 0x0b60…0b80 08 67 20 69 73 20 74 6f 20 62 65 20 69 67 6e 6f 72 65 64 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 ┆ g is to be ignored. ┆ 0x0b80…0ba0 20 20 20 20 20 20 20 20 20 20 4e 6f 74 65 3a 20 74 68 65 20 73 69 67 6e 61 6c 20 53 49 47 4b 49 ┆ Note: the signal SIGKI┆ 0x0ba0…0bc0 4c 4c 20 63 61 6e 6e 6f 74 20 62 65 20 69 67 6e 6f 72 65 64 2e 0a 0a 20 20 20 20 20 5f 08 61 5f ┆LL cannot be ignored. _ a_┆ 0x0bc0…0be0 08 64 5f 08 64 5f 08 72 5f 08 65 5f 08 73 5f 08 73 20 20 20 20 20 20 20 20 43 61 74 63 68 20 73 ┆ d_ d_ r_ e_ s_ s Catch s┆ 0x0be0…0c00 69 67 6e 61 6c 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 55 70 6f 6e ┆ignal. Upon┆ 0x0c00…0c20 20 72 65 63 65 69 70 74 20 6f 66 20 74 68 65 20 73 69 67 6e 61 6c 20 5f 08 73 5f 08 69 5f 08 67 ┆ receipt of the signal _ s_ i_ g┆ 0x0c20…0c40 2c 20 74 68 65 20 72 65 63 65 69 76 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆, the receiving ┆ 0x0c40…0c60 20 20 20 20 70 72 6f 63 65 73 73 20 69 73 20 74 6f 20 65 78 65 63 75 74 65 20 74 68 65 20 73 69 ┆ process is to execute the si┆ 0x0c60…0c80 67 6e 61 6c 2d 63 61 74 63 68 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆gnal-catching ┆ 0x0c80…0ca0 20 20 66 75 6e 63 74 69 6f 6e 20 70 6f 69 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 66 5f 08 75 5f ┆ function pointed to by _ f_ u_┆ 0x0ca0…0cc0 08 6e 5f 08 63 2e 20 20 54 68 65 20 73 69 67 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ n_ c. The signal ┆ 0x0cc0…0ce0 20 20 20 20 20 20 20 6e 75 6d 62 65 72 20 5f 08 73 5f 08 69 5f 08 67 20 77 69 6c 6c 20 62 65 20 ┆ number _ s_ i_ g will be ┆ 0x0ce0…0d00 70 61 73 73 65 64 20 61 73 20 74 68 65 20 6f 6e 6c 79 20 61 72 67 75 2d 0a 20 20 20 20 20 20 20 ┆passed as the only argu- ┆ 0x0d00…0d20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 65 6e 74 20 74 6f 20 74 68 65 20 73 69 67 6e 61 6c 2d ┆ ment to the signal-┆ 0x0d20…0d40 63 61 74 63 68 69 6e 67 20 66 75 6e 63 74 69 6f 6e 2e 20 20 41 64 64 69 2d 0a 20 20 20 20 20 20 ┆catching function. Addi- ┆ 0x0d40…0d60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6f 6e 61 6c 20 61 72 67 75 6d 65 6e 74 73 20 6d ┆ tional arguments m┆ 0x0d60…0d80 61 79 20 62 65 20 70 61 73 73 65 64 20 74 6f 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ay be passed to the ┆ 0x0d80…0da0 20 20 20 20 20 20 20 20 73 69 67 6e 61 6c 2d 63 61 74 63 68 69 6e 67 20 66 75 6e 63 74 69 6f 6e ┆ signal-catching function┆ 0x0da0…0dc0 20 66 6f 72 20 68 61 72 64 77 61 72 65 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ for hardware- ┆ 0x0dc0…0de0 20 20 20 67 65 6e 65 72 61 74 65 64 20 73 69 67 6e 61 6c 73 2e 20 20 42 65 66 6f 72 65 20 65 6e ┆ generated signals. Before en┆ 0x0de0…0e00 74 65 72 69 6e 67 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 73 ┆tering the s┆ 0x0e00…0e20 69 67 6e 61 6c 2d 63 61 74 63 68 69 6e 67 20 66 75 6e 63 74 69 6f 6e 2c 20 74 68 65 20 76 61 6c ┆ignal-catching function, the val┆ 0x0e20…0e40 75 65 20 6f 66 20 5f 08 66 5f 08 75 5f 08 6e 5f 08 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ue of _ f_ u_ n_ c ┆ 0x0e40…0e60 20 20 20 20 20 20 20 66 6f 72 20 74 68 65 20 63 61 75 67 68 74 20 73 69 67 6e 61 6c 20 77 69 6c ┆ for the caught signal wil┆ 0x0e60…0e80 6c 20 62 65 20 73 65 74 20 74 6f 20 53 49 47 5f 44 46 4c 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆l be set to SIG_DFL ┆ 0x0e80…0ea0 20 20 20 20 20 20 20 20 75 6e 6c 65 73 73 20 74 68 65 20 73 69 67 6e 61 6c 20 69 73 20 53 49 47 ┆ unless the signal is SIG┆ 0x0ea0…0ec0 49 4c 4c 20 6f 72 20 53 49 47 54 52 41 50 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ILL or SIGTRAP. ┆ 0x0ec0…0ee0 20 20 20 20 20 5f 08 73 5f 08 69 5f 08 67 5f 08 6e 5f 08 61 5f 08 6c 20 77 69 6c 6c 20 6e 6f 74 ┆ _ s_ i_ g_ n_ a_ l will not┆ 0x0ee0…0f00 20 63 61 74 63 68 20 61 6e 20 69 6e 76 61 6c 69 64 20 66 75 6e 63 74 69 6f 6e 0a 20 20 20 20 20 ┆ catch an invalid function ┆ 0x0f00…0f20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 67 75 6d 65 6e 74 2c 20 5f 08 66 5f 08 75 5f ┆ argument, _ f_ u_┆ 0x0f20…0f40 08 6e 5f 08 63 2c 20 61 6e 64 20 72 65 73 75 6c 74 73 20 61 72 65 20 75 6e 64 65 66 69 6e 65 64 ┆ n_ c, and results are undefined┆ 0x0f40…0f60 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 65 6e 20 61 6e 20 61 74 74 ┆ when an att┆ 0x0f60…0f80 65 6d 70 74 20 69 73 20 6d 61 64 65 20 74 6f 20 65 78 65 63 75 74 65 20 74 68 65 20 66 75 6e 63 ┆empt is made to execute the func┆ 0x0f80…0fa0 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6f 6e 20 61 74 20 74 68 ┆- tion at th┆ 0x0fa0…0fc0 65 20 62 61 64 20 61 64 64 72 65 73 73 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆e bad address. ┆ 0x0fc0…0fe0 20 20 20 20 55 70 6f 6e 20 72 65 74 75 72 6e 20 66 72 6f 6d 20 74 68 65 20 73 69 67 6e 61 6c 2d ┆ Upon return from the signal-┆ 0x0fe0…1000 63 61 74 63 68 69 6e 67 20 66 75 6e 63 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆catching func- ┆ 0x1000…1020 20 20 20 74 69 6f 6e 2c 20 74 68 65 20 72 65 63 65 69 76 69 6e 67 20 70 72 6f 63 65 73 73 20 77 ┆ tion, the receiving process w┆ 0x1020…1040 69 6c 6c 20 72 65 73 75 6d 65 20 65 78 65 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ill resume exe- ┆ 0x1040…1060 20 20 20 20 63 75 74 69 6f 6e 20 61 74 20 74 68 65 20 70 6f 69 6e 74 20 69 74 20 77 61 73 20 69 ┆ cution at the point it was i┆ 0x1060…1080 6e 74 65 72 72 75 70 74 65 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆nterrupted, ┆ 0x1080…10a0 65 78 63 65 70 74 20 66 6f 72 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 64 65 66 69 6e 65 ┆except for implementation define┆ 0x10a0…10c0 64 20 73 69 67 6e 61 6c 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 ┆d signals wh┆ 0x10c0…10e0 65 72 65 20 74 68 69 73 20 6d 61 79 20 6e 6f 74 20 62 65 20 74 72 75 65 2e 0a 0a 20 20 20 20 20 ┆ere this may not be true. ┆ 0x10e0…1100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 57 68 65 6e 20 61 20 73 69 67 6e 61 6c 20 74 68 61 ┆ When a signal tha┆ 0x1100…1120 74 20 69 73 20 74 6f 20 62 65 20 63 61 75 67 68 74 20 6f 63 63 75 72 73 0a 20 20 20 20 20 20 20 ┆t is to be caught occurs ┆ 0x1120…1140 20 20 20 20 20 20 20 20 20 20 20 20 20 64 75 72 69 6e 67 20 61 20 6e 6f 6e 2d 61 74 6f 6d 69 63 ┆ during a non-atomic┆ 0x1140…1160 20 6f 70 65 72 61 74 69 6f 6e 20 73 75 63 68 20 61 73 20 61 20 5f 08 72 5f 08 65 5f 08 61 5f 08 ┆ operation such as a _ r_ e_ a_ ┆ 0x1160…1180 64 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 77 5f 08 72 5f 08 69 ┆d, _ w_ r_ i┆ 0x1180…11a0 5f 08 74 5f 08 65 2c 20 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 2c 20 6f 72 20 5f 08 69 5f 08 6f 5f ┆_ t_ e, _ o_ p_ e_ n, or _ i_ o_┆ 0x11a0…11c0 08 63 5f 08 74 5f 08 6c 5f 08 6e 20 73 79 73 74 65 6d 20 63 61 6c 6c 20 6f 6e 20 61 20 73 6c 6f ┆ c_ t_ l_ n system call on a slo┆ 0x11c0…11e0 77 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 76 69 63 65 20 28 6c 69 ┆w device (li┆ 0x11e0…1200 6b 65 20 61 20 74 65 72 6d 69 6e 61 6c 3b 20 62 75 74 20 6e 6f 74 20 61 20 66 69 6c 65 29 2c 0a ┆ke a terminal; but not a file), ┆ 0x1200…1220 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 75 72 69 6e 67 20 61 20 5f 08 70 ┆ during a _ p┆ 0x1220…1240 5f 08 61 5f 08 75 5f 08 73 5f 08 65 20 72 6f 75 74 69 6e 65 2c 20 64 75 72 69 6e 67 20 61 20 5f ┆_ a_ u_ s_ e routine, during a _┆ 0x1240…1260 08 77 5f 08 61 5f 08 69 5f 08 74 20 73 79 73 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ w_ a_ i_ t system ┆ 0x1260…1280 20 20 20 20 20 20 20 63 61 6c 6c 20 74 68 61 74 20 64 6f 65 73 20 6e 6f 74 20 72 65 74 75 72 6e ┆ call that does not return┆ 0x1280…12a0 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ immediately the ┆ 0x12a0…12c0 20 20 20 20 20 73 69 67 6e 61 6c 20 63 61 74 63 68 69 6e 67 20 66 75 6e 63 74 69 6f 6e 20 77 69 ┆ signal catching function wi┆ 0x12c0…12e0 6c 6c 20 62 65 20 65 78 65 63 75 74 65 64 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ll be executed and ┆ 0x12e0…1300 20 20 20 20 20 20 20 74 68 65 6e 20 74 68 65 20 69 6e 74 65 72 72 75 70 74 65 64 20 73 79 73 74 ┆ then the interrupted syst┆ 0x1300…1320 65 6d 20 63 61 6c 6c 20 6d 61 79 20 72 65 74 75 72 6e 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 ┆em call may return a ┆ 0x1320…1340 20 20 20 20 20 20 20 20 20 2d 31 20 74 6f 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 ┆ -1 to the calling proce┆ 0x1340…1360 73 73 20 77 69 74 68 20 65 72 72 6e 6f 20 73 65 74 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 20 ┆ss with errno set to ┆ 0x1360…1380 20 20 20 20 20 20 20 20 20 45 49 4e 54 52 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ EINTR. ┆ 0x1380…13a0 20 20 20 20 20 4e 6f 74 65 3a 20 54 68 65 20 73 69 67 6e 61 6c 20 53 49 47 4b 49 4c 4c 20 63 61 ┆ Note: The signal SIGKILL ca┆ 0x13a0…13c0 6e 6e 6f 74 20 62 65 20 63 61 75 67 68 74 2e 0a 0a 20 20 20 20 20 41 20 63 61 6c 6c 20 74 6f 20 ┆nnot be caught. A call to ┆ 0x13c0…13e0 5f 08 73 5f 08 69 5f 08 67 5f 08 6e 5f 08 61 5f 08 6c 20 63 61 6e 63 65 6c 73 20 61 20 70 65 6e ┆_ s_ i_ g_ n_ a_ l cancels a pen┆ 0x13e0…1400 64 69 6e 67 20 73 69 67 6e 61 6c 20 5f 08 73 5f 08 69 5f 08 67 20 65 78 63 65 70 74 20 66 6f 72 ┆ding signal _ s_ i_ g except for┆ 0x1400…1420 20 61 0a 20 20 20 20 20 70 65 6e 64 69 6e 67 20 53 49 47 4b 49 4c 4c 20 73 69 67 6e 61 6c 2e 0a ┆ a pending SIGKILL signal. ┆ 0x1420…1440 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 52 4f 08 4f 08 4f 08 4f 52 08 52 ┆ E E E ER R R RR R R RO O O OR R┆ 0x1440…1460 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 5b 45 49 4e 56 41 4c 5d 20 20 20 20 20 20 20 ┆ R RS S S S [EINVAL] ┆ 0x1460…1480 5f 08 73 5f 08 69 5f 08 67 5f 08 6e 5f 08 61 5f 08 6c 20 77 69 6c 6c 20 66 61 69 6c 20 69 66 20 ┆_ s_ i_ g_ n_ a_ l will fail if ┆ 0x1480…14a0 5f 08 73 5f 08 69 5f 08 67 20 69 73 20 61 6e 20 69 6c 6c 65 67 61 6c 20 73 69 67 6e 61 6c 0a 20 ┆_ s_ i_ g is an illegal signal ┆ 0x14a0…14c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 75 6d 62 65 72 20 6f 72 20 53 49 47 ┆ number or SIG┆ 0x14c0…14e0 4b 49 4c 4c 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 ┆KILL. R R R RE E E ET T ┆ 0x14e0…1500 54 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 ┆T TU U U UR R R RN N N N V V V V┆ 0x1500…1520 41 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 ┆A A A AL L L LU U U UE E E E ┆ 0x1520…1540 20 20 49 66 20 73 75 63 63 65 73 73 66 75 6c 2c 20 5f 08 73 5f 08 69 5f 08 67 5f 08 6e 5f 08 61 ┆ If successful, _ s_ i_ g_ n_ a┆ 0x1540…1560 5f 08 6c 20 72 65 74 75 72 6e 73 20 74 68 65 20 70 72 65 76 69 6f 75 73 20 76 61 6c 75 65 20 6f ┆_ l returns the previous value o┆ 0x1560…1580 66 20 5f 08 66 5f 08 75 5f 08 6e 5f 08 63 20 66 6f 72 0a 20 20 20 20 20 74 68 65 20 73 70 65 63 ┆f _ f_ u_ n_ c for the spec┆ 0x1580…15a0 69 66 69 65 64 20 73 69 67 6e 61 6c 20 5f 08 73 5f 08 69 5f 08 67 2e 20 20 4f 74 68 65 72 77 69 ┆ified signal _ s_ i_ g. Otherwi┆ 0x15a0…15c0 73 65 2c 20 53 49 47 5f 45 52 52 20 61 6e 64 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 ┆se, SIG_ERR and _ e_ r_ r_ n_ o ┆ 0x15c0…15e0 77 69 6c 6c 0a 20 20 20 20 20 69 6e 64 69 63 61 74 65 20 74 68 65 20 65 72 72 6f 72 2e 0a 0a 53 ┆will indicate the error. S┆ 0x15e0…1600 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 ┆ S S SE E E EE E E E A A A AL L ┆ 0x1600…1620 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 ┆L LS S S SO O O O System Ca┆ 0x1620…1640 6c 6c 73 20 28 32 29 3a 20 20 6b 69 6c 6c 2c 20 70 61 75 73 65 2c 20 77 61 69 74 2e 0a 20 20 20 ┆lls (2): kill, pause, wait. ┆ 0x1640…1660 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 65 74 6a 6d 70 ┆ Library Functions (3): setjmp┆ 0x1660…1680 0a 20 20 20 20 20 53 79 73 74 65 6d 20 46 61 63 69 6c 69 74 69 65 73 20 28 34 29 3a 20 73 69 67 ┆ System Facilities (4): sig┆ 0x1680…16a0 6e 61 6c 73 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆nals December 1990 ┆ 0x16a0…16c0 20 20 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 ┆ TX Programmer's Re┆ 0x16c0…16e0 66 65 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 ┆ference ┆ 0x16e0…16f9 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 ┆ ┆