%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 13:05:54 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(SIGACTION)S 1273(\()S 1315(2)S 1373(\))S 2696(Eighth)S (Edition)296 2989 A 4574(SIGACTION)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 1080(sigaction,)S 1493(signal)S 10 R-1 1758(-)S 10 R 1840(manage)S 2178(signal)S 2443(state)S 2653(and)S 2823(handlers)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()S 1608 V 1080(int)S 1236(sigaction\(int)S 10 I 1806(sig)S 10 B 1923(,)S 1986(const)S 2248(struct)S 2539(sigaction)S 2957(*)S 10 I 3007(act)S 10 B 3130(,)S 3193(struct)S 3484(sigaction)S 3902(*)S 10 I 3952(oact)S 10 B 4125(\))S 1728 V 1080(void)S 1302(\(*signal\(int)S 10 I 1827(sig)S 10 B 1944(,)S 2007(void)S 2229(\(*)S 10 I (handler)312 2313 A 10 B (\)\(int\)\)\)\(int\);)508 2625 A 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 1080(Sigaction\(\))S 10 R 1573(is)S 1668(used)S 1880(to)S 1986(examine,)S 2380(set,)S 2545(or)S 2657(modify)S 2975(the)S 3126(attributes)S 3529(of)S 3641(a)S 3714(signal.)S 4032(The)S 4218(argument)S 10 I 4627(sig)S 10 R 4773(is)S 4869(the)S 5021(signal)S 2136 V 1080(in)S 1199(question.)S 1630(The)S 10 I 1828(act)S 10 R 1992(argument)S 2413(points)S 2699(to)S 2818(a)S 2903(structure)S 3296(containing)S 3760(the)S 3923(new)S 4131(attributes)S 4546(of)S 4670(the)S 4833(signal,)S 5138(the)S 2256 V 1080(structure)S 1458(pointed)S 1784(to)S 1887(by)S 10 I 2012(oact)S 10 R (will)157 2210 A (receive)292 2392 A 2709(the)S 2857(old)S 3010(attributes)S 3410(that)S 3586(were)S 3808(in)S 3911(effect)S 4167(before)S 4450(the)S 4598(call.)S 2424 V 1080(The)S 10 I 1263(act)S 10 R 1412(and)S 10 I 1583(oact)S 10 R 1782(arguments)S 2227(may)S 2426(be)S 10 B 2547(NULL)S 10 R 2853(to)S 2957(indicate)S 3302(that)S 3479(either)S 3735(no)S 3861(new)S 4055(attributes)S 4457(are)S 4608(to)S 4713(be)S 4835(set,)S 4999(or)S 5110(that)S 2544 V 1080(the)S 1228(old)S 1381(attributes)S 1781(are)S 1930(not)S 2083(of)S 2192(interest.)S 2712 V 1080(The)S 1262(structure)S 1640(containing)S 2089(the)S 2237(signal)S 2502(attributes)S 2902(is)S 2994(de\256ned)S 3315(in)S 3418()S 3872(and)S (looks)217 4042 A 4284(like)S 4460(this:)S 2880 V 10 B 1440(struct)S 1718(sigaction)S 2123({)S 3000 V 1640(void)S 2240(\(*sa_handler\)\(int)S 3010(sig\);)S 3120 V 1640(sigset_t)S 2240(sa_mask;)S 3240 V 1640(int)S 2240(sa_\257ags;)S 3360 V 1440(};)S 3528 V 10 R 1080(The)S 10 B 1262(sa_handler)S 10 R 1762(\256eld)S 1966(contains)S 2326(the)S 2474(address)S 2801(of)S 2910(a)S 2980(signal)S 3245(handler,)S 3597(a)S 3668(function)S 4029(that)S 4206(is)S 4299(called)S 4566(when)S 4810(the)S 4959(process)S 3648 V 1080(is)S 1172(signalled,)S 1585(or)S 1694(one)S 1864(of)S 1973(these)S 2205(special)S 2510(constants:)S 3816 V 10 B 1080(SIG_DFL)S 10 R 1680(Default)S 2008(signal)S 2273(handling)S 2649(is)S 2741(to)S 2844(be)S 2964(performed.)S 3459(This)S 3663(usually)S 3978(means)S 4260(that)S 4437(the)S 4586(process)S 4914(is)S (killed,)254 5007 A 3936 V 1680(but)S 1833(some)S 2070(signals)S 2374(may)S 2572(be)S (ignored)307 2692 A 3024(by)S 3149(default.)S 4104 V 10 B 1080(SIG_IGN)S 10 R (Ignore)263 1680 A 1968(the)S 2116(signal.)S 4272 V 1080(The)S 10 B 1273(sa_mask)S 10 R 1677(\256eld)S 1892(indicates)S 2287(a)S 2369(set)S 2518(of)S 2639(signals)S 2955(that)S 3143(must)S 3375(be)S 3507(blocked)S 3862(when)S 4117(the)S 4277(signal)S 4554(is)S 4658(being)S 4918(handled.)S 4392 V 1080(Whether)S 1453(the)S 1602(signal)S 10 I 1868(sig)S 10 R 2011(itself)S 2239(is)S 2332(blocked)S 2676(when)S 2920(being)S 3169(handled)S 3513(is)S 3606(not)S 3760(controlled)S 4193(by)S 4318(this)S 4488(mask.)S 4775(The)S 4957(mask)S 5194(is)S 4512 V 1080(of)S 1189(a)S 1259("signal)S 1565(set")S 1743(type)S 1941(that)S 2117(is)S 2209(to)S 2312(be)S 2432(manipulated)S 2954(by)S 3079(the)S 10 B 3227(sigset)S 10 R 3462(\(3\))S 3605(functions.)S 4680 V 1080(How)S 1306(the)S 1459(signal)S 1729(is)S 1826(handled)S 2174(precisely)S 2568(is)S 2665(speci\256ed)S 3053(by)S 3183(bits)S 3358(in)S 10 B 3466(sa_\257ags)S 10 R 3800(.)S 3880(If)S (none)195 3978 A 4203(of)S 4318(the)S 4472(\257ags)S 4693(is)S 4791(set)S 4934(then)S 5138(the)S 4800 V 1080(handler)S 1422(is)S 1529(called)S 1810(when)S 2068(the)S 2231(signal)S 2511(arrives.)S 2876(The)S 3073(signal)S 3353(is)S 3460(blocked)S 3818(during)S 4120(the)S 4283(call)S 4469(to)S 4587(the)S 4750(handler,)S 5116(and)S 4920 V (unblocked)418 1080 A 1537(when)S 1794(the)S 1956(handler)S 2297(returns.)S 2666(A)S 2779(system)S 3098(call)S 3284(that)S 3475(is)S 3582(interrupted)S 4064(returns)S 10 B-1 4384(-)S 10 B 4441(1)S 10 R 4531(with)S 10 B (errno)241 4750 A 10 R 5031(set)S 5183(to)S 5040 V 10 B 1080(EINTR)S 10 R 1399(.)S 1474(The)S 1656(following)S 2072(bit)S 2203(\257ags)S 2418(can)S 2583(be)S 2703(set)S 2840(to)S 2943(modify)S 3258(this)S 3428(behaviour:)S 5208 V 10 B (SA_RESETHAND)806 1080 A 5328 V 10 R 1830(Reset)S 2079(the)S 2227(signal)S 2492(handler)S 2819(to)S 10 B 2922(SIG_DFL)S 10 R 3372(when)S 3615(the)S 3763(signal)S 4028(is)S (caught.)293 4120 A 5496 V 10 B 1080(SA_NODEFER)S 10 R 1830(Do)S 1978(not)S 2131(block)S 2379(the)S 2527(signal)S 2792(on)S 2917(entry)S 3149(to)S 3252(the)S 3400(handler.)S 5664 V 10 B 1080(SA_COMPAT)S 10 R 1830(Handle)S 2146(the)S 2294(signal)S 2559(in)S 2662(a)S 2732(way)S 2925(that)S 3101(is)S 3193(compatible)S 3665(with)S 3869(the)S 4017(the)S 4165(old)S 10 B 4318(signal\(\))S 10 R 4662(call.)S 5832 V 1080(The)S 1272(old)S 10 B 1435(signal\(\))S 10 R 1789(signal)S 2064(system)S 2378(call)S 2559(sets)S 2745(a)S 2825(signal)S 3100(handler)S 3437(for)S 3590(a)S 3670(given)S 3928(signal)S 4203(and)S 4383(returns)S 4698(the)S 4857(old)S 5021(signal)S 5952 V 1080(handler.)S 1462(No)S 1614(signals)S 1922(are)S 2075(blocked,)S 2447(the)S 2599(\257ags)S 2818(are)S 10 B (SA_RESETHAND)806 2971 A 3806(|)S 3857(SA_NODEFER)S 4558(|)S 4609(SA_COMPAT)S 10 R 5236(.)S 6072 V 1080(New)S 1296(code)S (should)267 1511 A 1803(not)S 1956(use)S 10 B 2115(signal\(\))S 10 R 2434(.)S 2509(Note)S 2730(that)S 10 B 2906(signal\(\))S 10 R 3250(and)S 3420(all)S 3546(of)S 3655(the)S 10 B 3803(SA_*)S 10 R 4057(\257ags)S 4272(are)S 4421(Minix)S 4691(extensions.)S 6240 V 1080(Signal)S 1362(handlers)S 1728(are)S 1877(reset)S 2093(to)S 10 B 2196(SIG_DFL)S 10 R 2646(on)S 2771(an)S 10 B 2891(execve)S 10 R 3171(\(2\).)S 3364(Signals)S 3685(that)S 3861(are)S (ignored)307 4010 A 4342(stay)S (ignored.)332 4529 A 6408 V 870(S)S 872(Si)S 930(ig)S 960(gn)S 1012(na)S 1064(al)S 1111(ls)S 1141(s)S 6528 V 1080(Minix)S (knows)262 1350 A (about)223 1637 A 1885(the)S 2033(following)S 2449(signals:)S 6696 V 1080(signal)S 1630(num)S 1980(notes)S 2380(description)S 6864 V (SIGHUP)365 1080 A 1630(1)S 1980(k)S (Hangup)318 2380 A 6984 V 1080(SIGINT)S 1630(2)S 1980(k)S 2380(Interrupt)S 2758(\(usually)S 3107(DEL)S 3329(or)S 3438(CTRL)S 10 R-1 3696(-)S 10 R 3753(C\))S 7104 V (SIGQUIT)405 1080 A 1630(3)S 1980(kc)S 2380(Quit)S 2584(\(usually)S 2933(CTRL)S 10 R-1 3191(-)S 10 R 3248(\\\))S 7224 V 1080(SIGILL)S 1630(4)S 1980(kc)S 2380(Illegal)S 2663(instruction)S 7344 V 1080(SIGTRAP)S 1630(5)S 1980(xkc)S (Trace)231 2380 A 2636(trap)S 7464 V 1080(SIGABRT)S 1630(6)S 1980(kc)S 2380(Abort)S 2640(program)S 7903 V 720(Page)S 941(1)S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 2 2 BP /slant 0 def /height 0 def 480 V 10 R 720(SIGACTION)S 1273(\()S 1315(2)S 1373(\))S 2696(Eighth)S (Edition)296 2989 A 4574(SIGACTION)S 5127(\()S 5169(2)S 5227(\))S 960 V 1080(SIGFPE)S 1630(8)S 1980(k)S 2380(Floating)S 2740(point)S 2971(exception)S 1080 V 1080(SIGKILL)S 1630(9)S 1980(k)S (Kill)157 2380 A 1200 V 1080(SIGUSR1)S 1630(10)S 1980(k)S 2380(User)S 2596(de\256ned)S 2917(signal)S 3182(#1)S 1320 V 1080(SIGSEGV)S 1630(11)S 1980(kc)S 2380(Segmentation)S 2958(fault)S 1440 V 1080(SIGUSR2)S 1630(12)S 1980(k)S 2380(User)S 2596(de\256ned)S 2917(signal)S 3182(#2)S 1560 V 1080(SIGPIPE)S 1630(13)S 1980(k)S 2380(Write)S 2635(to)S 2738(a)S 2808(pipe)S 3006(with)S 3210(no)S 3335(reader)S 1680 V 1080(SIGALRM)S 1630(14)S 1980(k)S 2380(Alarm)S 2663(clock)S 1800 V 1080(SIGTERM)S 1630(15)S 1980(k)S 2380(Terminate)S 2820(\(default)S 3159(for)S (kill\(1\)\))286 3302 A 1920 V 1080(SIGCHLD)S 1630(17)S 1980(pvi)S 2380(Child)S 2628(process)S 2955(terminated)S 2040 V 1080(SIGCONT)S 1630(18)S 1980(p)S 2380(Continue)S 2773(if)S (stopped)312 2860 A 2160 V 1080(SIGSTOP)S 1630(19)S 1980(ps)S 2380(Stop)S 2589(signal)S 2280 V 1080(SIGTSTP)S 1630(20)S 1980(ps)S 2380(Interactive)S 2837(stop)S 3029(signal)S 2400 V 1080(SIGTTIN)S 1630(21)S 1980(ps)S (Background)491 2380 A 2896(read)S 2520 V 1080(SIGTTOU)S 1630(22)S 1980(ps)S (Background)491 2380 A 2896(write)S 2640 V 1080(SIGWINCH)S 1630(23)S 1980(xvi)S (Window)346 2380 A 2751(size)S 2933(change)S 2808 V 1080(The)S 1262(letters)S 1534(in)S 1637(the)S 1785(notes)S 2022(column)S 2348(indicate:)S 2976 V 10 B 1080(k)S 10 R 1330(The)S 1512(process)S 1839(is)S (killed)229 1931 A 2185(if)S 2272(the)S 2420(signal)S 2685(is)S 2777(not)S (caught.)293 2930 A 3144 V 10 B 1080(c)S 10 R 1330(The)S 1512(signal)S 1777(causes)S 2065(a)S 2135(core)S 2334(dump.)S 3312 V 10 B 1080(i)S 10 R 1330(The)S 1512(signal)S 1777(is)S (ignored)307 1869 A 2201(if)S 2288(not)S (caught.)293 2441 A 3480 V 10 B 1080(v)S 10 R 1330(Only)S 1556(Minix-vmd)S 2038(implements)S 2532(this)S 2702(signal.)S 3648 V 10 B 1080(x)S 10 R 1330(Minix)S 1600(extension,)S 2035(not)S 2188(de\256ned)S 2509(by)S 8 R 2629(POSIX)S 10 R 2862(.)S 3816 V 10 B 1080(p)S 10 R 1330(These)S 1596(signals)S 1900(are)S 2049(not)S 2202(implemented,)S 2777(but)S 8 R 2925(POSIX)S 10 R 3183(requires)S 3533(that)S 3709(they)S 3907(are)S 4056(de\256ned.)S 3984 V 10 B 1080(s)S 10 R 1330(The)S 1512(process)S (should)267 1839 A 2131(be)S (stopped,)337 2251 A 2613(but)S 2766(is)S (killed)229 2858 A 3112(instead.)S 4152 V 1080(The)S 10 B 1276(SIGKILL)S 10 R 1739(signal)S (cannot)268 2018 A 2325(be)S (caught)268 2459 A 2766(or)S (ignored.)332 2889 A 3285(The)S 10 B 3481(SIGILL)S 10 R 3866(and)S 10 B 4051(SIGTRAP)S 10 R 4539(signals)S (cannot)268 4858 A 5166(be)S 4272 V 1080(automatically)S 1659(reset.)S 1931(The)S 2119(system)S 2429(silently)S 2756(enforces)S 3129(these)S 3367(restrictions.)S 3896(This)S 4106(may)S 4310(or)S 4425(may)S 4629(not)S 4788(be)S 4913(re\257ected)S 4392 V 1080(by)S 1205(the)S 1353(attributes)S 1753(of)S 1862(these)S 2094(signals)S 2398(and)S 2568(the)S 2716(signal)S 2981(masks.)S 4560 V 870(T)S 872(Ty)S 936(yp)S 988(pe)S 1040(es)S 1087(s)S 4680 V 8 R 1080(POSIX)S 10 R 1338(prescribes)S 1772(that)S 1948()S 2530(has)S 2689(the)S 2837(following)S (de\256nition:)413 3253 A 4848 V 10 B 1440(typedef)S 1785(int)S (\(*sighandler_t\)\(int\))841 1928 A 5016 V 10 R 1080(With)S 1306(this)S 1476(type)S 1674(the)S 1822(following)S 2238(declarations)S 2750(can)S 2915(be)S 3035(made:)S 5184 V 10 B 1440(sighandler_t)S 2002(sa_handler;)S 5304 V 1440(sighandler_t)S 2002(signal\(int)S 10 I 2430(sig)S 10 B 2547(,)S 2597(sighandler_t)S 10 I (handler)312 3159 A 10 B 3471(\);)S 5472 V 10 R 1080(This)S 1296(may)S 1506(help)S (you)150 1716 A 1903(to)S (understand)441 2018 A 2496(the)S 2656(earlier)S 2953(declarations)S 3478(better.)S 3796(The)S 10 B 3991(sighandler_t)S 10 R 4566(type)S 4777(is)S 4882(also)S 5082(very)S 5592 V 1080(useful)S 1351(in)S 1454(old)S 1607(style)S 1822(C)S 1914(code)S 2129(that)S 2305(is)S 2397(compiled)S 2796(by)S 2921(a)S 2991(compiler)S 3374(for)S 3517(standard)S 3883(C.)S 5760 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 5880 V 10 B (kill)140 1080 A 10 R 1220(\(1\),)S 10 B (kill)140 1388 A 10 R 1528(\(2\),)S 10 B 1696(pause)S 10 R 1942(\(2\),)S 10 B 2110(sigprocmask)S 10 R 2652(\(2\),)S 10 B 2820(sigsuspend)S 10 R 3284(\(2\),)S 10 B 3452(sigpending)S 10 R 3916(\(2\),)S 10 B 4084(sigset)S 10 R 4319(\(3\).)S 6048 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 6168 V 10 B 1080(Sigaction\(\))S 10 R 1594(returns)S 10 B 1923(0)S 10 R 2022(on)S (success)302 2171 A 2522(or)S 10 B-1 2655(-)S 10 B 2712(1)S 10 R 2811(on)S 2960(error.)S 10 B 3256(Signal\(\))S 10 R 3642(returns)S 3972(the)S 4145(old)S 4323(handler)S 4675(on)S (success)302 4825 A 5177(or)S 6288 V 10 B 1080(SIG_ERR)S 10 R 1541(on)S 1666(error.)S 1938(The)S 2120(error)S 2342(code)S 2557(may)S 2755(be:)S 6456 V 10 B (EINVAL)392 1080 A 10 R 1580(Bad)S 1767(signal)S 2032(number.)S 6624 V 10 B 1080(EFAULT)S 10 R 1580(Bad)S 10 I 1767(act)S 10 R 1915(or)S 10 I 2024(oact)S 10 R 2222(addresses.)S 6792 V 9 R 720(A)S 722(AU)S 790(UT)S 858(TH)S 916(HO)S 984(OR)S 1052(R)S 6912 V 10 R 1080(Kees)S 1307(J.)S 1396(Bot)S 1566(\(kjb@cs.vu.nl\))S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 4990(Page)S 5211(2)S 8143 V EP %%Trailer %%DocumentFonts: Times-Roman Times-Bold Times-Italic %%Pages: 2