|
|
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: k
Length: 2995 (0xbb3)
Names: »kill.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat2/kill.2«
└─⟦this⟧ »./usr/man/cat2/kill.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 20 20 20 20 20 20 20 6b 69 6c 6c 28 32 29 0a 0a 0a 0a ┆s kill(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 6b 69 6c 6c 2d 20 73 65 6e 64 20 73 69 67 6e 61 6c 20 74 6f 20 61 20 70 72 6f 63 65 73 73 ┆ kill- send signal to a process┆ 0x0a0…0c0 0a 0a 53 08 53 08 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 ┆ S S S SY Y Y YN N N NT T T TA ┆ 0x0c0…0e0 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 6b 08 6b 08 6b 08 6b 69 08 69 08 69 08 69 ┆A A AX X X X k k k ki i i i┆ 0x0e0…100 6c 08 6c 08 6c 08 6c 6c 08 6c 08 6c 08 6c 28 08 28 08 28 08 28 70 08 70 08 70 08 70 69 08 69 08 ┆l l l ll l l l( ( ( (p p p pi i ┆ 0x100…120 69 08 69 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 ┆i id d d d, , , , s s s si i i i┆ 0x120…140 67 08 67 08 67 08 67 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e ┆g g g g) ) ) ) i i i in n n┆ 0x140…160 08 6e 74 08 74 08 74 08 74 20 70 08 70 08 70 08 70 69 08 69 08 69 08 69 64 08 64 08 64 08 64 2c ┆ nt t t t p p p pi i i id d d d,┆ 0x160…180 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 67 08 67 3b 08 3b 08 ┆ , , , s s s si i i ig g g g; ; ┆ 0x180…1a0 3b 08 3b 0a 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 ┆; ; D D D DE E E ES S S SC C C┆ 0x1a0…1c0 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 ┆ CR R R RI I I IP P P PT T T TI ┆ 0x1c0…1e0 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 6b 5f 08 69 5f ┆I I IO O O ON N N N _ k_ i_┆ 0x1e0…200 08 6c 5f 08 6c 20 73 65 6e 64 73 20 74 68 65 20 6e 61 6d 65 64 20 73 69 67 6e 61 6c 20 74 6f 20 ┆ l_ l sends the named signal to ┆ 0x200…220 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 70 72 6f 63 65 73 73 65 73 2e 0a 20 20 20 20 20 50 72 6f 63 ┆one or more processes. Proc┆ 0x220…240 65 73 73 65 73 20 6d 61 79 20 73 65 6e 64 20 73 69 67 6e 61 6c 73 20 74 6f 20 74 68 65 6d 73 65 ┆esses may send signals to themse┆ 0x240…260 6c 76 65 73 2e 0a 0a 20 20 20 20 20 70 08 70 08 70 08 70 69 08 69 08 69 08 69 64 08 64 08 64 08 ┆lves. p p p pi i i id d d ┆ 0x260…280 64 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 70 72 6f 63 65 73 73 20 6e 75 6d 62 65 72 20 ┆d Specifies the process number ┆ 0x280…2a0 66 6f 72 20 74 68 65 20 72 65 63 65 69 76 69 6e 67 20 70 72 6f 63 65 73 73 2e 0a 20 20 20 20 20 ┆for the receiving process. ┆ 0x2a0…2c0 20 20 20 20 20 55 6e 6c 65 73 73 20 74 68 65 20 73 65 6e 64 69 6e 67 20 61 6e 64 20 72 65 63 65 ┆ Unless the sending and rece┆ 0x2c0…2e0 69 76 69 6e 67 20 70 72 6f 63 65 73 73 65 73 20 68 61 76 65 20 74 68 65 0a 20 20 20 20 20 20 20 ┆iving processes have the ┆ 0x2e0…300 20 20 20 73 61 6d 65 20 5f 08 65 5f 08 66 5f 08 66 5f 08 65 5f 08 63 5f 08 74 5f 08 69 5f 08 76 ┆ same _ e_ f_ f_ e_ c_ t_ i_ v┆ 0x300…320 5f 08 65 20 75 73 65 72 20 49 44 2c 20 74 68 69 73 20 63 61 6c 6c 20 69 73 20 72 65 73 74 72 69 ┆_ e user ID, this call is restri┆ 0x320…340 63 74 65 64 20 74 6f 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 73 75 70 65 72 2d 75 73 65 72 ┆cted to the super-user┆ 0x340…360 2e 20 20 28 41 20 73 69 6e 67 6c 65 20 65 78 63 65 70 74 69 6f 6e 20 69 73 20 74 68 65 20 73 69 ┆. (A single exception is the si┆ 0x360…380 67 6e 61 6c 20 53 49 47 43 4f 4e 54 0a 20 20 20 20 20 20 20 20 20 20 77 68 69 63 68 20 6d 61 79 ┆gnal SIGCONT which may┆ 0x380…3a0 20 61 6c 77 61 79 73 20 62 65 20 73 65 6e 74 20 74 6f 20 61 6e 79 20 63 68 69 6c 64 20 6f 72 20 ┆ always be sent to any child or ┆ 0x3a0…3c0 67 72 61 6e 64 63 68 69 6c 64 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 63 75 72 72 ┆grandchild of the curr┆ 0x3c0…3e0 65 6e 74 20 70 72 6f 63 65 73 73 2e 29 0a 20 20 20 20 20 20 20 20 20 20 49 66 20 5f 08 70 5f 08 ┆ent process.) If _ p_ ┆ 0x3e0…400 69 5f 08 64 20 69 73 20 30 2c 20 74 68 65 20 73 69 67 6e 61 6c 20 69 73 20 73 65 6e 74 20 74 6f ┆i_ d is 0, the signal is sent to┆ 0x400…420 20 61 6c 6c 20 70 72 6f 63 65 73 73 65 73 20 69 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 ┆ all processes in the ┆ 0x420…440 73 65 6e 64 65 72 27 73 20 70 72 6f 63 65 73 73 20 67 72 6f 75 70 2e 20 20 54 68 69 73 20 69 73 ┆sender's process group. This is┆ 0x440…460 20 61 20 76 61 72 69 61 6e 74 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 5f 08 6b 5f ┆ a variant of the _ k_┆ 0x460…480 08 69 5f 08 6c 5f 08 6c 5f 08 70 5f 08 67 20 73 79 73 74 65 6d 20 63 61 6c 6c 2e 0a 20 20 20 20 ┆ i_ l_ l_ p_ g system call. ┆ 0x480…4a0 20 20 20 20 20 20 49 66 20 5f 08 70 5f 08 69 5f 08 64 20 69 73 20 2d 31 20 61 6e 64 20 74 68 65 ┆ If _ p_ i_ d is -1 and the┆ 0x4a0…4c0 20 75 73 65 72 20 69 73 20 74 68 65 20 73 75 70 65 72 2d 75 73 65 72 2c 20 74 68 65 20 73 69 67 ┆ user is the super-user, the sig┆ 0x4c0…4e0 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 69 73 20 62 72 6f 61 64 63 61 73 74 20 75 6e 69 76 65 ┆nal is broadcast unive┆ 0x4e0…500 72 73 61 6c 6c 79 2c 20 65 78 63 65 70 74 20 74 6f 20 73 79 73 74 65 6d 20 70 72 6f 63 65 73 73 ┆rsally, except to system process┆ 0x500…520 65 73 0a 20 20 20 20 20 20 20 20 20 20 61 6e 64 20 74 68 65 20 70 72 6f 63 65 73 73 20 73 65 6e ┆es and the process sen┆ 0x520…540 64 69 6e 67 20 74 68 65 20 73 69 67 6e 61 6c 2e 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 69 08 ┆ding the signal. s s s si ┆ 0x540…560 69 08 69 08 69 67 08 67 08 67 08 67 20 20 49 73 20 61 20 73 69 67 6e 61 6c 20 73 70 65 63 69 66 ┆i i ig g g g Is a signal specif┆ 0x560…580 69 65 64 20 69 6e 20 74 68 65 20 5f 08 73 5f 08 69 5f 08 67 5f 08 76 5f 08 65 5f 08 63 20 73 79 ┆ied in the _ s_ i_ g_ v_ e_ c sy┆ 0x580…5a0 73 74 65 6d 20 63 61 6c 6c 20 6f 72 20 30 2e 0a 20 20 20 20 20 20 20 20 20 20 49 66 20 30 2c 20 ┆stem call or 0. If 0, ┆ 0x5a0…5c0 65 72 72 6f 72 20 63 68 65 63 6b 69 6e 67 20 69 73 20 64 6f 6e 65 20 77 69 74 68 6f 75 74 20 73 ┆error checking is done without s┆ 0x5c0…5e0 65 6e 64 69 6e 67 20 61 20 73 69 67 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 28 75 73 65 66 75 ┆ending a signal (usefu┆ 0x5e0…600 6c 20 74 6f 20 63 68 65 63 6b 20 74 68 65 20 76 61 6c 69 64 69 74 79 20 6f 66 20 5f 08 70 5f 08 ┆l to check the validity of _ p_ ┆ 0x600…620 69 5f 08 64 29 2e 0a 20 20 20 20 20 20 20 20 20 20 4e 08 4e 08 4e 08 4e 6f 08 6f 08 6f 08 6f 74 ┆i_ d). N N N No o o ot┆ 0x620…640 08 74 08 74 08 74 65 08 65 08 65 08 65 3a 08 3a 08 3a 08 3a 20 53 49 47 41 42 4f 52 54 20 61 6e ┆ t t te e e e: : : : SIGABORT an┆ 0x640…660 64 20 53 49 47 54 52 41 4e 53 2c 20 77 68 69 63 68 20 61 72 65 20 73 65 6e 74 20 77 69 74 68 20 ┆d SIGTRANS, which are sent with ┆ 0x660…680 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 5f 08 74 5f 08 72 5f 08 61 5f 08 6e 5f 08 73 20 63 61 ┆the _ t_ r_ a_ n_ s ca┆ 0x680…6a0 6c 6c 2c 20 6d 61 79 20 6e 6f 74 20 62 65 20 73 70 65 63 69 66 69 65 64 20 6f 6e 20 61 20 5f 08 ┆ll, may not be specified on a _ ┆ 0x6a0…6c0 6b 5f 08 69 5f 08 6c 5f 08 6c 20 63 61 6c 6c 2e 0a 0a 20 20 20 20 20 5f 08 6b 5f 08 69 5f 08 6c ┆k_ i_ l_ l call. _ k_ i_ l┆ 0x6c0…6e0 5f 08 6c 28 5f 08 78 2c 20 5f 08 73 5f 08 69 5f 08 67 29 20 77 68 65 72 65 20 5f 08 73 5f 08 69 ┆_ l(_ x, _ s_ i_ g) where _ s_ i┆ 0x6e0…700 5f 08 67 20 69 73 20 6c 65 73 73 20 74 68 61 6e 20 7a 65 72 6f 20 69 73 20 65 71 75 69 76 61 6c ┆_ g is less than zero is equival┆ 0x700…720 65 6e 74 20 74 6f 0a 20 20 20 20 20 5f 08 6b 5f 08 69 5f 08 6c 5f 08 6c 5f 08 70 5f 08 67 28 5f ┆ent to _ k_ i_ l_ l_ p_ g(_┆ 0x720…740 08 78 2c 20 2d 5f 08 73 5f 08 69 5f 08 67 29 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 ┆ x, -_ s_ i_ g). R R R RE E E E┆ 0x740…760 54 08 54 08 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 ┆T T T TU U U UR R R RN N N N V V┆ 0x760…780 08 56 08 56 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 ┆ V VA A A AL L L LU U U UE E E E┆ 0x780…7a0 0a 20 20 20 20 20 55 70 6f 6e 20 73 75 63 63 65 73 73 66 75 6c 20 63 6f 6d 70 6c 65 74 69 6f 6e ┆ Upon successful completion┆ 0x7a0…7c0 2c 20 61 20 76 61 6c 75 65 20 6f 66 20 30 20 69 73 20 72 65 74 75 72 6e 65 64 2e 20 20 4f 74 68 ┆, a value of 0 is returned. Oth┆ 0x7c0…7e0 2d 0a 20 20 20 20 20 65 72 77 69 73 65 2c 20 61 20 76 61 6c 75 65 20 6f 66 20 2d 31 20 69 73 20 ┆- erwise, a value of -1 is ┆ 0x7e0…800 72 65 74 75 72 6e 65 64 20 61 6e 64 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 69 73 20 ┆returned and _ e_ r_ r_ n_ o is ┆ 0x800…820 73 65 74 20 74 6f 20 69 6e 64 69 2d 0a 20 20 20 20 20 63 61 74 65 20 74 68 65 20 65 72 72 6f 72 ┆set to indi- cate the error┆ 0x820…840 2e 0a 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 ┆. E E E ER R R RR R R RO O O OR┆ 0x840…860 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 6b 5f 08 69 5f 08 6c 5f 08 6c 20 ┆ R R RS S S S _ k_ i_ l_ l ┆ 0x860…880 66 61 69 6c 73 20 77 69 74 68 6f 75 74 20 73 65 6e 64 69 6e 67 20 61 20 73 69 67 6e 61 6c 20 69 ┆fails without sending a signal i┆ 0x880…8a0 66 20 61 6e 79 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 0a 20 20 20 20 20 6f 63 63 75 ┆f any of the following occu┆ 0x8a0…8c0 72 3a 0a 0a 20 20 20 20 20 5b 45 49 4e 56 41 4c 5d 20 20 20 20 20 20 20 5f 08 53 5f 08 69 5f 08 ┆r: [EINVAL] _ S_ i_ ┆ 0x8c0…8e0 67 20 69 73 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 73 69 67 6e 61 6c 20 6e 75 6d 62 65 72 20 66 ┆g is not a valid signal number f┆ 0x8e0…900 6f 72 20 5f 08 6b 5f 08 69 5f 08 6c 5f 08 6c 2e 0a 0a 20 20 20 20 20 5b 45 53 52 43 48 5d 20 20 ┆or _ k_ i_ l_ l. [ESRCH] ┆ 0x900…920 20 20 20 20 20 20 4e 6f 20 70 72 6f 63 65 73 73 20 63 61 6e 20 62 65 20 66 6f 75 6e 64 20 63 6f ┆ No process can be found co┆ 0x920…940 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 6f 20 5f 08 70 5f 08 69 5f 08 64 2e 0a 0a 20 20 20 20 20 ┆rresponding to _ p_ i_ d. ┆ 0x940…960 5b 45 50 45 52 4d 5d 20 20 20 20 20 20 20 20 54 68 65 20 73 65 6e 64 69 6e 67 20 70 72 6f 63 65 ┆[EPERM] The sending proce┆ 0x960…980 73 73 20 69 73 20 6e 6f 74 20 74 68 65 20 73 75 70 65 72 2d 75 73 65 72 20 61 6e 64 0a 20 20 20 ┆ss is not the super-user and ┆ 0x980…9a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 74 73 20 65 66 66 65 63 74 69 76 65 20 75 ┆ its effective u┆ 0x9a0…9c0 73 65 72 20 69 64 20 64 6f 65 73 20 6e 6f 74 20 6d 61 74 63 68 20 74 68 65 0a 20 20 20 20 20 20 ┆ser id does not match the ┆ 0x9c0…9e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 66 66 65 63 74 69 76 65 20 75 73 65 72 2d 69 64 20 ┆ effective user-id ┆ 0x9e0…a00 6f 66 20 74 68 65 20 72 65 63 65 69 76 69 6e 67 20 70 72 6f 63 65 73 73 2e 0a 0a 53 08 53 08 53 ┆of the receiving process. S S S┆ 0xa00…a20 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 4c 08 4c 53 ┆ SE E E EE E E E A A A AL L L LS┆ 0xa20…a40 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 6c 6c 73 20 ┆ S S SO O O O System Calls ┆ 0xa40…a60 28 32 29 3a 20 20 67 65 74 70 69 64 2c 20 67 65 74 70 67 72 70 2c 20 6b 69 6c 6c 70 67 2c 20 73 ┆(2): getpid, getpgrp, killpg, s┆ 0xa60…a80 69 67 76 65 63 2c 20 74 72 61 6e 73 0a 0a 4b 08 4b 08 4b 08 4b 4e 08 4e 08 4e 08 4e 4f 08 4f 08 ┆igvec, trans K K K KN N N NO O ┆ 0xa80…aa0 4f 08 4f 57 08 57 08 57 08 57 4e 08 4e 08 4e 08 4e 20 50 08 50 08 50 08 50 52 08 52 08 52 08 52 ┆O OW W W WN N N N P P P PR R R R┆ 0xaa0…ac0 4f 08 4f 08 4f 08 4f 42 08 42 08 42 08 42 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 4d 08 4d 08 ┆O O O OB B B BL L L LE E E EM M ┆ 0xac0…ae0 4d 08 4d 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 63 6f 64 65 20 70 61 72 61 6d 65 74 ┆M MS S S S The code paramet┆ 0xae0…b00 65 72 20 70 61 73 73 65 64 20 74 6f 20 74 68 65 20 73 69 67 6e 61 6c 20 68 61 6e 64 6c 65 72 20 ┆er passed to the signal handler ┆ 0xb00…b20 61 73 20 61 20 72 65 73 75 6c 74 0a 20 20 20 20 20 6f 66 20 61 20 5f 08 6b 5f 08 69 5f 08 6c 5f ┆as a result of a _ k_ i_ l_┆ 0xb20…b40 08 6c 20 63 61 6c 6c 20 69 73 20 30 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 ┆ l call is 0. March 1989 ┆ 0xb40…b60 20 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 ┆ TX Progra┆ 0xb60…b80 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆mmer's Reference ┆ 0xb80…ba0 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 0a 0a 0a 0a 0a ┆ ┆ 0xba0…bb3 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆