KILL.2
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:12k
源码类别:
操作系统开发
开发平台:
C/C++
- %!PS-Adobe-1.0
- %%Creator: devps (Pipeline Associates, Inc.)
- %%CreationDate: Fri Sep 13 13:05:44 1996
- %%Pages: (atend)
- %%DocumentFonts: (atend)
- /devps 180 dict def devps begin
- /res 10.000000 def
- /y_offset 843 def
- /X{exch}bind def
- /mm {transform round X round X itransform} bind def
- /r{rmoveto}bind def
- /m{moveto}bind def
- /l{lineto}bind def
- /rl{rlineto}bind def
- /st{stroke}bind def
- /gs{gsave}bind def
- /gr{grestore}bind def
- /cp{currentpoint}bind def
- /np{newpath}bind def
- /ct{curveto}bind def
- systemdict /setpacking known
- { /savepacking currentpacking def true setpacking } if
- /m0{0 0 moveto}bind def
- /xc{//res div}bind def
- /yc{//res neg div //y_offset add}bind def
- /lc{yc X xc X l st}bind def
- /mc{yc X xc X m}bind def
- /el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def
- /ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def
- /sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def
- /V{//res neg div //y_offset add
- currentpoint pop X
- m}bind def
- /H{//res div
- 0 transform X round X itransform pop
- currentpoint X pop
- moveto}bind def
- /h{//res div 0 r}bind def
- /v{//res neg div 0 X r}bind def
- /S{X H show}bind def
- /A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def
- /psize 10 def
- /height 0 def
- /cheight { height 0 ne { height } { psize } ifelse } bind def
- /slant 0 def
- /FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def
- [psize 0 cheight slant sin slant cos div mul cheight 0 0]
- makefont setfont}bind def
- /shade{gs
- /dy X def
- /dx X def
- np m
- 0 /dy rl
- /dx 0 rl
- 0 /dy neg rl
- /dx neg 0 rl
- closepath
- .9 setgray
- fill
- gr}bind def
- 1 setlinecap
- /resolution res 72 mul def
- /startFig {
- /SavedState save def
- userdict maxlength dict begin
- currentpoint transform
- DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap
- setlinewidth setmatrix
- itransform moveto
- /ury exch def
- /urx exch def
- /lly exch def
- /llx exch def
- /y exch 72 mul resolution div def
- /x exch 72 mul resolution div def
- currentpoint /cy exch def /cx exch def
- /sx x urx llx sub div def
- /sy y ury lly sub div def
- sx sy scale
- cx sx div llx sub
- cy sy div ury sub translate
- /DefFigCTM matrix currentmatrix def
- /initmatrix {
- DefFigCTM setmatrix
- } def
- /defaultmatrix {
- DefFigCTM exch copy
- } def
- /initgraphics {
- DocumentInitState setmiterlimit setgray setdash
- setlinejoin setlinecap setlinewidth setmatrix
- DefFigCTM setmatrix
- } def
- /showpage {
- initgraphics
- } def
- }bind def
- /clipFig {
- currentpoint 6 2 roll
- newpath 4 copy
- 4 2 roll moveto
- 6 -1 roll exch lineto
- exch lineto
- exch lineto
- closepath clip
- newpath
- moveto
- }bind def
- /doclip { llx lly urx ury clipFig } def
- /endFig {
- end SavedState restore
- }bind def
- /globalstart {
- fontnum psize slant height resolution currentpoint
- pagesave restore gsave
- }bind def
- /globalend {
- grestore moveto
- /resolution exch def /height exch def
- /slant exch def /psize exch def /fontnum exch def
- F
- /pagesave save def
- }bind def
- /fontnum 1 def
- systemdict /setpacking known { savepacking setpacking} if
- end
- /BP{
- save mark devps begin m0
- /DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecap
- currentlinejoin currentdash currentgray currentmiterlimit ] cvx def
- }bind def
- /EP{
- end cleartomark restore showpage}def
- /Encoding-1 256 array def
- 0 1 255 {Encoding-1 exch /.notdef put} for
- Encoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-B
- Encoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-b
- Encoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accents
- Encoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessi
- Encoding-1
- dup 8#41 /copyright put
- dup 8#42 /registered put
- dup 8#43 /trademark put
- dup 8#44 /logicalnot put
- dup 8#45 /Eth put
- dup 8#46 /eth put
- dup 8#47 /Thorn put
- dup 8#50 /thorn put
- dup 8#51 /brokenbar put
- dup 8#52 /degree put
- dup 8#53 /divide put
- dup 8#54 /multiply put
- dup 8#55 /minus put
- dup 8#56 /onehalf put
- dup 8#57 /onequarter put
- dup 8#60 /threequarters put
- dup 8#101 /Aacute put
- dup 8#102 /Acircumflex put
- dup 8#103 /Adieresis put
- dup 8#104 /Agrave put
- dup 8#105 /Aring put
- dup 8#106 /Atilde put
- dup 8#107 /Ccedilla put
- dup 8#110 /Eacute put
- dup 8#111 /Ecircumflex put
- dup 8#112 /Edieresis put
- dup 8#113 /Egrave put
- dup 8#114 /Iacute put
- dup 8#115 /Icircumflex put
- dup 8#116 /Idieresis put
- dup 8#117 /Igrave put
- dup 8#120 /Ntilde put
- dup 8#121 /Oacute put
- dup 8#122 /Ocircumflex put
- dup 8#123 /Odieresis put
- dup 8#124 /Ograve put
- dup 8#125 /Otilde put
- dup 8#126 /Scaron put
- dup 8#127 /Uacute put
- dup 8#130 /Ucircumflex put
- dup 8#131 /Udieresis put
- dup 8#132 /Ugrave put
- dup 8#133 /Ydieresis put
- dup 8#134 /Zcaron put
- dup 8#135 /aacute put
- dup 8#136 /acircumflex put
- dup 8#137 /adieresis put
- dup 8#140 /agrave put
- dup 8#141 /aring put
- dup 8#142 /atilde put
- dup 8#143 /ccedilla put
- dup 8#144 /eacute put
- dup 8#145 /ecircumflex put
- dup 8#146 /edieresis put
- dup 8#147 /egrave put
- dup 8#150 /iacute put
- dup 8#151 /icircumflex put
- dup 8#152 /idieresis put
- dup 8#153 /igrave put
- dup 8#154 /ntilde put
- dup 8#155 /oacute put
- dup 8#156 /ocircumflex put
- dup 8#157 /odieresis put
- dup 8#160 /ograve put
- dup 8#161 /otilde put
- dup 8#162 /scaron put
- dup 8#163 /uacute put
- dup 8#164 /ucircumflex put
- dup 8#165 /udieresis put
- dup 8#166 /ugrave put
- dup 8#167 /ydieresis put
- dup 8#170 /zcaron put
- pop
- /Enc-dict 30 dict def
- Enc-dict /tmpstr1 50 string put
- Enc-dict /tmpstr2 50 string put
- Enc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put
- /AEnc-def { % arguments: the original font's name, encoding nr
- Enc-dict begin
- tmpstr2 cvs /Enc-no exch def % Remember the number in a string
- dup /OrigName exch def % remember the name
- findfont dup maxlength dict /newdict exch def % get dictionary for new font
- { exch dup /FID ne
- { exch newdict 3 1 roll put }
- { pop pop } % Ignore FID
- ifelse
- } forall
- newdict begin
- /Encoding
- tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval
- cvn load
- def % Replace encoding
- currentdict /UniqueID known
- { /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueID
- end % newdict
- /FNlength OrigName tmpstr1 cvs length def % convert name, remember length
- FNlength 1 add Enc-no length add string
- dup 0 OrigName tmpstr1 cvs putinterval
- dup FNlength (-) putinterval
- dup FNlength 1 add Enc-no putinterval
- dup 0 tmpstr1 0 FNlength getinterval putinterval % Add old name
- cvn dup newdict /FontName 3 2 roll put newdict definefont
- end % Enc-dict
- } def
- /Times-Roman 1 AEnc-def pop
- /R-1{/Times-Roman-1 FF}def
- /R{/Times-Roman FF}def
- /B{/Times-Bold FF}def
- /I{/Times-Italic FF}def
- %%EndProlog
- %%Page: 1 1
- BP
- /slant 0 def
- /height 0 def
- 480 V
- 10 R
- 720(KILL)S
- 959(()S
- 1001(2)S
- 1059())S
- 2696(Eighth)S
- (Edition)296 2989 A
- 4888(KILL)S
- 5127(()S
- 5169(2)S
- 5227())S
- 960 V
- 9 R
- 720(N)S
- 722(NA)S
- 790(AM)S
- 858(ME)S
- 940(E)S
- 1080 V
- 10 R
- (kill)134 1080 A
- 10 R-1
- 1239(-)S
- 10 R
- 1321(send)S
- 1530(signal)S
- 1795(to)S
- 1898(a)S
- 1968(process)S
- 1248 V
- 9 R
- 720(S)S
- 722(SY)S
- 774(YN)S
- 842(NO)S
- 910(OP)S
- 978(PS)S
- 1030(SI)S
- 1082(IS)S
- 1115(S)S
- 1368 V
- 10 B
- 1080(#include)S
- 1482(<sys/types.h>)S
- 1488 V
- 1080(#include)S
- 1482(<signal.h>)S
- 1728 V
- 1080(int)S
- (kill(pid_t)398 1236 A
- 10 I
- 1672(pid)S
- 10 B
- 1800(,)S
- 1863(int)S
- 10 I
- 2019(sig)S
- 10 B
- 2136())S
- 1896 V
- 9 R
- 720(D)S
- 722(DE)S
- 790(ES)S
- 848(SC)S
- 900(CR)S
- 962(RI)S
- 1024(IP)S
- 1057(PT)S
- 1109(TI)S
- 1167(IO)S
- 1200(ON)S
- 1268(N)S
- 2016 V
- 10 B
- (Kill)162 1080 A
- 10 R
- 1271(sends)S
- 1523(the)S
- 1675(signal)S
- 10 I
- 1944(sig)S
- 10 R
- 2090(to)S
- 2197(a)S
- 2271(process,)S
- 2627(speci256ed)S
- 3014(by)S
- 3144(the)S
- 3297(process)S
- 3629(number)S
- 10 I
- 3966(pid)S
- 10 R
- 4102(.)S
- 10 I
- 4182(Sig)S
- 10 R
- 4340(may)S
- 4543(be)S
- 4668(one)S
- 4843(of)S
- 4957(the)S
- 5110(sig-)S
- 2136 V
- 1080(nals)S
- 1269(speci256ed)S
- 1654(in)S
- 10 B
- 1759(sigaction)S
- 10 R
- 2139((2),)S
- 2308(or)S
- 2418(it)S
- 2500(may)S
- 2699(be)S
- 2820(0,)S
- 2921(in)S
- 3025(which)S
- 3297(case)S
- 3497(error)S
- 3720(checking)S
- 4109(is)S
- 4202(performed)S
- 4648(but)S
- 4802(no)S
- 4928(signal)S
- 5194(is)S
- 2256 V
- 1080(actually)S
- 1424(sent.)S
- 1636(This)S
- 1840(can)S
- 2005(be)S
- 2125(used)S
- 2334(to)S
- 2437(check)S
- 2697(the)S
- 2845(validity)S
- 3177(of)S
- 10 I
- 3286(pid)S
- 10 R
- 3422(.)S
- 2424 V
- 1080(The)S
- 1270(sending)S
- 1615(and)S
- (receiving)375 1793 A
- 2201(processes)S
- 2620(must)S
- 2848(have)S
- 3071(the)S
- 3227(same)S
- 3467(effective)S
- 3855(user)S
- 4057(ID,)S
- 4223(otherwise)S
- 4649(this)S
- 4828(call)S
- 5008(is)S
- 5109(res-)S
- 2544 V
- 1080(tricted)S
- 1363(to)S
- 1466(the)S
- 1614(super-user.)S
- 2712 V
- 1080(If)S
- 1173(the)S
- 1321(process)S
- 1648(number)S
- 1980(is)S
- 2072(0,)S
- 2172(the)S
- 2320(signal)S
- 2585(is)S
- 2677(sent)S
- 2864(to)S
- 2967(all)S
- 3093(processes)S
- 3504(in)S
- 3607(the)S
- 3755(sender's)S
- 4116(process)S
- (group.)259 4443 A
- 2880 V
- 1080(If)S
- 1177(the)S
- 1329(process)S
- 1660(number)S
- 1996(is)S
- 10 R-1
- 2092(-)S
- 10 R
- 2149(1)S
- 2228(and)S
- 2402(the)S
- 2554(user)S
- 2752(is)S
- 2849(the)S
- 3002(super-user,)S
- 3477(the)S
- 3630(signal)S
- 3900(is)S
- 3997(broadcast)S
- 4413(universally)S
- 4890(except)S
- 5183(to)S
- 3000 V
- 10 B
- 1080(init)S
- 10 R
- 1256(and)S
- 1431(the)S
- 1584(process)S
- 1916(sending)S
- 2258(the)S
- 2411(signal.)S
- 2731(If)S
- 2829(the)S
- 2982(process)S
- 3314(number)S
- 3651(is)S
- 10 R-1
- 3748(-)S
- 10 R
- 3805(1)S
- 3885(and)S
- 4060(the)S
- 4213(user)S
- 4411(is)S
- 4507(not)S
- 4664(the)S
- 4816(super-user,)S
- 3120 V
- 1080(the)S
- 1241(signal)S
- 1519(is)S
- 1624(broadcast)S
- 2048(universally)S
- 2533(to)S
- 2649(all)S
- 2788(processes)S
- 3212(with)S
- 3429(the)S
- 3590(same)S
- 3836(uid)S
- 4003(as)S
- 4126(the)S
- 4288(user)S
- 4495(except)S
- 4797(the)S
- 4959(process)S
- 3240 V
- 1080(sending)S
- 1417(the)S
- 1565(signal.)S
- 1880(No)S
- 2028(error)S
- 2250(is)S
- 2342(returned)S
- 2703(if)S
- 2790(any)S
- 2960(process)S
- 3287(could)S
- 3535(be)S
- 3655(signaled.)S
- 3408 V
- 1080(If)S
- 1175(the)S
- 1325(process)S
- 1654(number)S
- 1988(is)S
- 2083(negative)S
- 2452(but)S
- 2608(not)S
- 10 R-1
- 2764(-)S
- 10 R
- 2821(1,)S
- 2924(the)S
- 3075(signal)S
- 3343(is)S
- 3438(sent)S
- 3628(to)S
- 3734(all)S
- 3863(processes)S
- 4277(whose)S
- 4562(process)S
- (group)234 4892 A
- 5154(ID)S
- 3528 V
- 1080(is)S
- 1172(equal)S
- 1415(to)S
- 1518(the)S
- 1666(absolute)S
- 2026(value)S
- 2269(of)S
- 2378(the)S
- 2526(process)S
- 2853(number.)S
- 3696 V
- 1080(Processes)S
- 1497(may)S
- 1695(send)S
- 1904(signals)S
- 2208(to)S
- 2311(themselves.)S
- 3864 V
- 9 R
- 720(R)S
- 722(RE)S
- 784(ET)S
- 842(TU)S
- 900(UR)S
- 968(RN)S
- 1030(N)S
- 1121(V)S
- 1123(VA)S
- 1191(AL)S
- 1259(LU)S
- 1317(UE)S
- 1385(E)S
- 3984 V
- 10 R
- (Upon)223 1080 A
- (successful)414 1328 A
- 1768(completion,)S
- 2271(a)S
- 2342(value)S
- 2586(of)S
- 2696(0)S
- 2772(is)S
- 2865(returned.)S
- 3277(Otherwise,)S
- 3743(a)S
- 3814(value)S
- 4058(of)S
- 10 R-1
- 4168(-)S
- 10 R
- 4225(1)S
- 4301(is)S
- 4394(returned)S
- 4756(and)S
- 10 B
- (errno)241 4927 A
- 10 R
- 5194(is)S
- 4104 V
- 1080(set)S
- 1217(to)S
- 1320(indicate)S
- 1664(the)S
- 1812(error.)S
- 4272 V
- 9 R
- 720(E)S
- 722(ER)S
- 780(RR)S
- 842(RO)S
- 904(OR)S
- 972(RS)S
- 1034(S)S
- 4392 V
- 10 B
- (Kill)162 1080 A
- 10 R
- (will)157 1267 A
- 1449(fail)S
- 1609(and)S
- 1779(no)S
- 1904(signal)S
- (will)157 2169 A
- 2351(be)S
- 2471(sent)S
- 2658(if)S
- 2745(any)S
- 2915(of)S
- 3024(the)S
- 3172(following)S
- 3588(occur:)S
- 4560 V
- ([EINVAL])445 1080 A
- 10 I
- 1830(Sig)S
- 10 R
- 1983(is)S
- 2075(not)S
- 2228(a)S
- 2298(valid)S
- 2524(signal)S
- 2789(number.)S
- 4728 V
- 1080([ESRCH])S
- 1830(No)S
- 1978(process)S
- 2305(can)S
- 2470(be)S
- (found)234 2590 A
- (corresponding)575 2849 A
- 3449(to)S
- 3552(that)S
- 3728(speci256ed)S
- 4111(by)S
- 10 I
- 4236(pid)S
- 10 R
- 4364(.)S
- 4896 V
- 1080([ESRCH])S
- 1830(The)S
- 2012(process)S
- 2339(id)S
- 2442(was)S
- 2624(given)S
- 2872(as)S
- 2981(0)S
- 3056(but)S
- 3209(the)S
- 3357(sending)S
- 3694(process)S
- 4021(does)S
- 4230(not)S
- 4383(have)S
- 4598(a)S
- 4668(process)S
- (group.)259 4995 A
- 5064 V
- 1080([EPERM])S
- 1830(The)S
- 2013(sending)S
- 2351(process)S
- 2679(is)S
- 2772(not)S
- 2927(the)S
- 3077(super-user)S
- 3524(and)S
- 3696(its)S
- 3818(effective)S
- 4199(user)S
- 4394(id)S
- 4499(does)S
- 4710(not)S
- 4865(match)S
- 5138(the)S
- 5184 V
- 1830(effective)S
- 2210(user-id)S
- 2516(of)S
- 2626(the)S
- (receiving)375 2775 A
- 3176(process.)S
- 3554(When)S
- 3820(signaling)S
- 4213(a)S
- 4283(process)S
- (group,)259 4610 A
- 4894(this)S
- 5064(error)S
- 5304 V
- 1830(was)S
- 2012(returned)S
- 2373(if)S
- 2460(any)S
- 2630(members)S
- 3024(of)S
- 3133(the)S
- (group)234 3281 A
- 3540(could)S
- 3788(not)S
- 3941(be)S
- 4061(signaled.)S
- 5472 V
- 9 R
- 720(S)S
- 722(SE)S
- 774(EE)S
- 832(E)S
- 913(A)S
- 915(AL)S
- 983(LS)S
- 1041(SO)S
- 1093(O)S
- 5592 V
- 10 B
- 1080(getpid)S
- 10 R
- 1349((2),)S
- 10 B
- 1517(getpgrp)S
- 10 R
- 1853((2),)S
- 10 B
- 2021(sigaction)S
- 10 R
- 2401((2),)S
- 10 B
- 2569(raise)S
- 10 R
- 2776((3).)S
- 7903 V
- 720(Page)S
- 941(1)S
- 2669(()S
- 2711(May)S
- 2920(14,)S
- (1986)200 3070 A
- 3278())S
- 4455(September)S
- 4911(13,)S
- (1996)200 5061 A
- 8143 V
- EP
- %%Trailer
- %%DocumentFonts: Times-Roman Times-Bold Times-Italic
- %%Pages: 1