SIGSET.3
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:11k
源码类别:
操作系统开发
开发平台:
C/C++
- %!PS-Adobe-1.0
- %%Creator: devps (Pipeline Associates, Inc.)
- %%CreationDate: Fri Sep 13 13:06:58 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
- /Times-Bold 1 AEnc-def pop
- /B-1{/Times-Bold-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(SIGSET)S
- 1071(()S
- 1113(3)S
- 1171())S
- 2696(Eighth)S
- (Edition)296 2989 A
- 4776(SIGSET)S
- 5127(()S
- 5169(3)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
- 1080(sigset,)S
- 1359(sigaddset,)S
- 1783(sigdelset,)S
- 2185(sigemptyset,)S
- 2715(sig256llset,)S
- 3106(sigismember)S
- 10 R-1
- 3645(-)S
- 10 R
- 3727(manipulate)S
- 4199(signal)S
- 4464(sets)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(<signal.h>)S
- 1608 V
- 1080(int)S
- 1236(sigaddset(sigset_t)S
- 2024(*)S
- 10 I
- 2074(set)S
- 10 B
- 2186(,)S
- 2249(int)S
- 10 I
- 2405(sig)S
- 10 B
- 2522())S
- 1728 V
- 1080(int)S
- 1236(sigdelset(sigset_t)S
- 1991(*)S
- 10 I
- 2041(set)S
- 10 B
- 2153(,)S
- 2216(int)S
- 10 I
- 2372(sig)S
- 10 B
- 2489())S
- 1848 V
- 1080(int)S
- 1236(sigemptyset(sigset_t)S
- 2131(*)S
- 10 I
- 2181(set)S
- 10 B
- 2293())S
- 1968 V
- 1080(int)S
- 1236(sig256llset(sigset_t)S
- 1974(*)S
- 10 I
- 2024(set)S
- 10 B
- 2136())S
- 2088 V
- 1080(int)S
- 1236(sigismember(const)S
- 2075(sigset_t)S
- 2432(*)S
- 10 I
- 2482(set)S
- 10 B
- 2594(,)S
- 2657(int)S
- 10 I
- 2813(sig)S
- 10 B
- 2930())S
- 2256 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
- 2376 V
- 10 R
- 1080(The)S
- 1273(system)S
- 1588(calls)S
- 1809(that)S
- 1996(handle)S
- 2300(signals,)S
- 2640(such)S
- 2860(as)S
- 10 B
- 2980(sigaction)S
- 10 R
- 3360((2))S
- 3514(and)S
- 10 B
- 3695(sigprocmask)S
- 10 R
- 4237((2))S
- 4391(use)S
- 4561(sets)S
- 4748(of)S
- 4868(signals)S
- 5183(to)S
- 2496 V
- 1080(keep)S
- 1307(a)S
- 1389(process)S
- 1728(from)S
- 1961(being)S
- 2220(interrupted)S
- 2698(by)S
- 2834(those)S
- 3082(signals)S
- 3397(while)S
- 3657(executing)S
- 4084(a)S
- 4165(signal)S
- 4441(handler)S
- 4779(or)S
- 4899(a)S
- (critical)281 4980 A
- 2616 V
- 1080(code)S
- 1295(segment.)S
- 1705(These)S
- 1971(signal)S
- 2236(sets)S
- 2412(are)S
- 2561(manipulated)S
- 3083(by)S
- 3208(the)S
- 3356(following)S
- 3772(functions:)S
- 2784 V
- 10 B
- 1080(int)S
- 1223(sigaddset(sigset_t)S
- 1998(*)S
- 10 I
- 2048(set)S
- 10 B
- 2160(,)S
- 2210(int)S
- 10 I
- 2353(sig)S
- 10 B
- 2470())S
- 2904 V
- 10 R
- 1330(Add)S
- 1528(signal)S
- 10 I
- 1793(sig)S
- 10 R
- 1935(to)S
- 2038(the)S
- 2186(signal)S
- 2451(set)S
- 2588(referenced)S
- 3040(by)S
- 10 I
- 3165(set)S
- 10 R
- 3285(.)S
- 3072 V
- 10 B
- 1080(int)S
- 1223(sigdelset(sigset_t)S
- 1965(*)S
- 10 I
- 2015(set)S
- 10 B
- 2127(,)S
- 2177(int)S
- 10 I
- 2320(sig)S
- 10 B
- 2437())S
- 3192 V
- 10 R
- 1330(Remove)S
- 1690(signal)S
- 10 I
- 1955(sig)S
- 10 R
- 2097(from)S
- 2318(the)S
- 2466(signal)S
- 2731(set)S
- 2868(referenced)S
- 3320(by)S
- 10 I
- 3445(set)S
- 10 R
- 3565(.)S
- 3360 V
- 10 B
- 1080(int)S
- 1223(sigemptyset(sigset_t)S
- 2105(*)S
- 10 I
- 2155(set)S
- 10 B
- 2267())S
- 3480 V
- 10 R
- (Initialize)359 1330 A
- 1714(the)S
- 1862(signal)S
- 2127(set)S
- 2264(referenced)S
- 2716(by)S
- 10 I
- 2841(set)S
- 10 R
- 2978(to)S
- 3081(an)S
- 3201(empty)S
- 3477(set.)S
- 3648 V
- 10 B
- 1080(int)S
- (sigfillset(sigset_t)706 1223 A
- 1954(*)S
- 10 I
- 2004(set)S
- 10 B
- 2116())S
- 3768 V
- 10 R
- (Initialize)359 1330 A
- 1714(the)S
- 1862(signal)S
- 2127(set)S
- 2264(referenced)S
- 2716(by)S
- 10 I
- 2841(set)S
- 10 R
- 2978(to)S
- 3081(an)S
- 3201(full)S
- 3366(set,)S
- 3528(i.e.)S
- 3676(all)S
- 3802(signals)S
- 4106(are)S
- 4255(in)S
- 4358(the)S
- 4506(set.)S
- 3936 V
- 10 B
- 1080(int)S
- 1223(sigismember(const)S
- 2049(sigset_t)S
- 2393(*)S
- 10 I
- 2443(set)S
- 10 B
- 2555(,)S
- 2605(int)S
- 10 I
- 2748(sig)S
- 10 B
- 2865())S
- 4056 V
- 10 R
- 1330(Return)S
- 10 B
- 1629(1)S
- 10 R
- 1704(if)S
- 1791(the)S
- 1939(signal)S
- 10 I
- 2204(sig)S
- 10 R
- 2346(is)S
- 2438(present)S
- 2754(in)S
- 2857(the)S
- 3005(set)S
- 3142(referenced)S
- 3594(by)S
- 10 I
- 3719(set)S
- 10 R
- 3839(,)S
- 10 B
- 3889(0)S
- 10 R
- 3964(otherwise.)S
- 4224 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
- 4344 V
- 10 B
- 1080(sigaction)S
- 10 R
- 1460((2),)S
- 10 B
- 1628(sigpending)S
- 10 R
- 2092((2),)S
- 10 B
- 2260(sigprocmask)S
- 10 R
- 2802((2),)S
- 10 B
- 2970(sigsuspend)S
- 10 R
- 3434((2).)S
- 4512 V
- 9 R
- 720(D)S
- 722(DI)S
- 790(IA)S
- 823(AG)S
- 891(GN)S
- 959(NO)S
- 1027(OS)S
- 1095(ST)S
- 1147(TI)S
- 1205(IC)S
- 1238(CS)S
- 1300(S)S
- 4632 V
- 10 R
- 1080(All)S
- 1238(functions)S
- 1641(except)S
- 10 B
- 1933(sigismember)S
- 10 R
- 2505(return)S
- 10 B
- 2776(0)S
- 10 R
- 2856(on)S
- (success.)327 2986 A
- 10 B
- 3368(Sigismember)S
- 10 R
- 3958(returns)S
- 10 B
- 4268(0)S
- 10 R
- 4348(or)S
- 10 B
- 4462(1)S
- 10 R
- 4542(on)S
- (success.)327 4672 A
- 5054(They)S
- 4752 V
- 1080(return)S
- 10 B-1
- 1347(-)S
- 10 B
- 1404(1)S
- 10 R
- 1480(with)S
- 1685(error)S
- 1908(code)S
- 10 B
- (EINVAL)392 2124 A
- 10 R
- 2542(for)S
- 2686(an)S
- 2807(invalid)S
- 3112(signal)S
- 3378(number.)S
- 3761((They)S
- 4028(do)S
- 4154(not)S
- 4308(use)S
- 10 B
- 4468(EFAULT)S
- 10 R
- 4903(for)S
- 5046(a)S
- 5116(bad)S
- 4872 V
- 10 I
- 1080(set)S
- 10 R
- 1217(address,)S
- 1569(but)S
- (will)157 1722 A
- 1904(simply)S
- 2202(cause)S
- 2451(a)S
- 2521(segmentation)S
- 3082(violation.))S
- 5040 V
- 9 R
- 720(A)S
- 722(AU)S
- 790(UT)S
- 858(TH)S
- 916(HO)S
- 984(OR)S
- 1052(R)S
- 5160 V
- 10 R
- 1080(Kees)S
- 1307(J.)S
- 1396(Bot)S
- 1566((kjb@cs.vu.nl))S
- 7903 V
- 720(Page)S
- 941(1)S
- 4455(September)S
- 4911(13,)S
- (1996)200 5061 A
- 8143 V
- EP
- %%Trailer
- %%DocumentFonts: Times-Roman Times-Bold Times-Italic
- %%Pages: 1