%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 13:05:51 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(REBOOT)S 1132(\()S 1174(2)S 1232(\))S 2696(Eighth)S (Edition)296 2989 A 4715(REBOOT)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 (reboot)257 1080 A 10 R-1 1362(-)S 10 R 1444(close)S 1676(down)S 1924(the)S 2072(system)S 2376(or)S (reboot)257 2485 A 1248 V 9 R 720(S)S 722(SY)S 774(YN)S 842(NT)S 910(TA)S 968(AX)S 1036(X)S 1368 V 10 B 1080(#de\256ne)S (_MINIX_SOURCE)839 1413 A 2277(1)S 1608 V 1080(#include)S 1469()S 1848 V 1080(int)S 1223(reboot\(int)S 10 I 1680(how)S 10 B 1847(,)S (...\))109 1897 A 2016 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 2136 V 10 B (Reboot\(\))376 1080 A 10 R 1481(is)S 1573(used)S 1782(to)S 1885(close)S 2117(down)S 2365(the)S 2513(system.)S 2867(It)S 2954(allows)S 3242(several)S 3553(ways)S 3785(of)S (shutting)323 3894 A 4242(down)S 4490(depending)S 4933(on)S 10 I 5058(how)S 10 R 5233(:)S 2304 V 10 B 1080(reboot\(RBT_HALT\))S 2424 V 10 R 1330(Halt)S 1529(the)S 1677(system)S 1981(and)S 2151(return)S 2417(to)S 2520(the)S 2668(monitor)S 3011(prompt.)S 2592 V 10 B 1080(reboot\(RBT_REBOOT\))S 2712 V 10 R (Reboot)290 1330 A 1645(the)S 1793(system)S 2097(by)S (letting)257 2222 A 2504(the)S 2652(monitor)S 2995(execute)S 3328(the)S ("boot")260 3476 A 3761(command.)S 2880 V 10 B 1080(reboot\(RBT_PANIC\))S 3000 V 10 R 1330(Cause)S 1619(a)S 1707(system)S 2029(panic.)S 2340(This)S 2562(is)S 2672(not)S 2843(normally)S (done)195 3249 A 3487(from)S 3727(user)S 3939(mode,)S 4231(but)S 4403(by)S 4547(servers)S 4877(using)S 5138(the)S 3120 V 10 B (sys_abort\(\))481 1330 A 10 R 1836(kernel)S 2113(call.)S 3288 V 10 B 1080(reboot\(RBT_MONITOR)S 10 I 2154(,)S 2204(code,)S 2444(length)S 10 B 2703(\))S 3408 V 10 R 1330(Halt)S 1534(the)S 1687(system)S 1996(and)S 2171(let)S 2302(the)S 2455(monitor)S 2803(execute)S 3141(the)S 3294(given)S 3547(code)S 3767(of)S 3881(the)S 4034(given)S 4288(length.)S 4620(\()S 10 I 4654(code)S 10 R 4875(is)S 4973(of)S 5088(type)S 3528 V 10 B 1330(char)S 1551(*)S 10 R 1626(and)S 10 I 1796(length)S 10 R 2072(of)S 2181(type)S 10 B 2379(size_t)S 10 R 2620(.\))S 3696 V 10 B 1080(reboot\(RBT_RESET\))S 3816 V 10 R (Reboot)290 1330 A 1645(the)S 1793(system)S 2097(with)S 2301(a)S 2371(hardware)S 2772(reset.)S 3984 V 10 B (Reboot\(\))376 1080 A 10 R 1481(may)S 1679(only)S 1882(be)S 2002(executed)S 2385(by)S 2510(the)S 2658(super-user.)S 4152 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 4272 V 10 R 1080(If)S 1182(the)S 1339(call)S (succeeds,)383 1519 A 1936(it)S 2026(never)S 2284(returns.)S 2648(If)S 2750(something)S 3202(went)S (wrong,)282 3432 A 3748(the)S 3905(return)S 4180(value)S 4432(is)S 4533(-1)S 4652(and)S 4832(an)S 4962(error)S 5194(is)S 4392 V 1080(indicated)S 1474(by)S 10 B (errno)241 1599 A 10 R 1840(.)S 4560 V 9 R 720(S)S 722(SE)S 774(EE)S 832(E)S 928(A)S 930(AL)S 998(LS)S 1056(SO)S 1108(O)S 4680 V 10 B 1080(shutdown)S 10 R 1500(\(8\),)S 10 B 1668(reboot)S 10 R 1948(\(8\),)S 10 B 2116(halt)S 10 R 2284(\(8\),)S 10 B 2452(sync)S 10 R 2642(\(1\).)S 4848 V 9 R 720(N)S 722(NO)S 790(OT)S 858(TE)S 916(ES)S 974(S)S 4968 V 10 R 1080(Minix)S 1357(can)S 1529(not)S 1689(return)S 1962(to)S 2072(the)S 2227(monitor)S 2577(if)S (running)312 2671 A 3015(in)S 3125(real)S 3309(mode,)S 3589(or)S 3705(if)S 3799(started)S 4100(from)S 4328(MS-DOS.)S 4792(This)S 5004(means)S 5088 V 1080(that)S 1256(most)S 1476(of)S 1585(the)S (reboot)257 1733 A 2015(functions)S (will)157 2414 A 2596(change)S 2906(to)S 3009(a)S 3079(reset.)S 5256 V 9 R 720(A)S 722(AU)S 790(UT)S 858(TH)S 916(HO)S 984(OR)S 1052(R)S 5376 V 10 R 1080(Edvard)S 1396(Tuinder)S (\(v892231@si.hhs.NL\))902 1740 A 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