%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 13:05:43 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(INTRO)S 1037(\()S 1079(2)S 1137(\))S 2696(Eighth)S (Edition)296 2989 A 4810(INTRO)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(intro,)S 1320(errno)S 10 R-1 1558(-)S 10 R (introduction)491 1640 A 2156(to)S 2259(system)S 2563(calls)S 2773(and)S 2943(error)S 3165(numbers)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 ()436 1482 A 1536 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 1656 V 10 R 1080(This)S 1290(section)S 1606(describes)S 2012(all)S 2144(of)S 2259(the)S 2413(system)S 2723(calls.)S 2989(Most)S 3226(of)S 3341(these)S 3579(calls)S 3795(have)S 4016(one)S 4192(or)S 4308(more)S 4547(error)S 4776(returns.)S 5138(An)S 1776 V 1080(error)S (condition)379 1317 A 1735(is)S 1841(indicated)S 2249(by)S 2388(an)S 2522(otherwise)S 2953(impossible)S 3427(return)S 3707(value.)S 4014(This)S 4232(is)S 4338(almost)S 4645(always)S 10 R-1 4964(-)S 10 R 5021(1;)S 5138(the)S 1896 V 1080(individual)S 1519(descriptions)S 2037(specify)S 2360(the)S 2515(details.)S 2860(Note)S 3088(that)S 3271(a)S 3348(number)S 3688(of)S 3805(system)S 4117(calls)S 4335(overload)S 4720(the)S 4876(meanings)S 2016 V 1080(of)S 1210(these)S 1463(error)S 1706(numbers,)S 2123(and)S 2314(that)S 2511(the)S 2680(meanings)S 3111(must)S 3352(be)S 3493(interpreted)S (according)397 3976 A 4419(to)S 4543(the)S 4712(type)S 4930(and)S 5120(cir-)S 2136 V 1080(cumstances)S 1569(of)S 1678(the)S 1826(call.)S 2304 V 1080(As)S 1221(with)S 1429(normal)S 1743(arguments,)S 2216(all)S 2346(return)S 2616(codes)S 2874(and)S 3048(values)S 3334(from)S 3559(functions)S 3962(are)S 4115(of)S 4228(type)S 4430(integer)S 4739(unless)S 5020(other-)S 2424 V 1080(wise)S 1291(noted.)S 1590(An)S 1739(error)S 1962(number)S 2295(is)S 2388(also)S 2576(made)S 2820(available)S 3210(in)S 3314(the)S 3462(external)S 3812(variable)S 10 B (errno)241 4162 A 10 R 4403(,)S 4453(which)S 4724(is)S 4816(not)S 4969(cleared)S 2544 V 1080(on)S (successful)414 1205 A 1644(calls.)S 1904(Thus)S 10 B (errno)241 2130 A 10 R (should)267 2396 A 2688(be)S 2808(tested)S 3068(only)S 3271(after)S 3482(an)S 3602(error)S 3824(has)S 3983(occurred.)S 2712 V 1080(The)S 1262(following)S 1678(is)S 1770(a)S 1840(complete)S 2234(list)S 2382(of)S 2491(the)S 2639(errors)S 2900(and)S 3070(their)S 3280(names)S 3562(as)S 3671(given)S 3919(in)S 4022(<)S 10 I 4079(sys/errno.h)S 10 R 4536(>:)S 2880 V 1080(0)S 1180(OK)S 1376(Error)S 1615(0)S 3000 V 1440(Unused.)S 1822(\(The)S 2038(symbol)S 2358("OK")S 2611(is)S 2703(only)S 2906(used)S 3115(inside)S 3380(the)S 3528(kernel)S 3805(source.\))S 3168 V 1080(1)S 1180(EPERM)S 1566(Not)S 1742(owner)S 3288 V 1440(Typically)S 1857(this)S 2034(error)S 2263(indicates)S 2653(an)S 2780(attempt)S 3114(to)S 3224(modify)S 3546(a)S 3623(\256le)S 3784(in)S 3894(some)S 4138(way)S 4338(forbidden)S 4761(except)S 5056(to)S 5166(its)S 3408 V 1440(owner)S 1728(or)S 1848(super-user.)S 2354(It)S 2452(is)S 2555(also)S 2753(returned)S 3125(for)S 3279(attempts)S 3656(by)S 3792(ordinary)S 4169(users)S 4412(to)S 4526(do)S 4662(things)S 4942(allowed)S 3528 V 1440(only)S 1643(to)S 1746(the)S 1894(super-user.)S 3696 V 1080(2)S 1180(ENOENT)S 1635(No)S 1783(such)S 1992(\256le)S 2146(or)S 2255(directory)S 3816 V 1440(This)S 1650(error)S 1878(occurs)S 2173(when)S 2423(a)S 2500(\256le)S 2661(name)S 2911(is)S 3010(speci\256ed)S 3400(and)S 3577(the)S 3732(\256le)S (should)267 3893 A 4192(exist)S 4414(but)S 4574(doesn't,)S 4927(or)S 5043(when)S 3936 V 1440(one)S 1610(of)S 1719(the)S 1867(directories)S 2318(in)S 2421(a)S 2491(path)S 2689(name)S 2932(does)S 3141(not)S 3294(exist.)S 4104 V 1080(3)S 1180(ESRCH)S 1555(No)S 1703(such)S 1912(process)S 4224 V 1440(The)S 1627(process)S 1959(or)S 2073(process)S (group)234 2405 A 2669(whose)S 2956(number)S 3293(was)S 3481(given)S 3735(does)S 3950(not)S 4109(exist,)S 4355(or)S 4470(any)S 4646(such)S 4861(process)S 5194(is)S 4344 V 1440(already)S 1762(dead.)S 4512 V 1080(4)S 1180(EINTR)S 1528(Interrupted)S 2001(system)S 2305(call)S 4632 V 1440(An)S (asynchronous)552 1594 A 2177(signal)S 2448(\(such)S 2698(as)S 2814(interrupt)S 3193(or)S 3309(quit\))S 3531(that)S 3714(the)S 3869(user)S 4069(has)S 4235(elected)S 4553(to)S 4663(catch)S 4908(occurred)S 4752 V 1440(during)S 1730(a)S 1802(system)S 2108(call.)S 2331(If)S 2426(execution)S 2844(is)S 2938(resumed)S 3306(after)S 3519(processing)S 3976(the)S 4126(signal)S 4393(and)S 4565(the)S 4715(system)S 5021(call)S 5194(is)S 4872 V 1440(not)S 1593(restarted,)S 1991(it)S (will)157 2072 A 2254(appear)S 2548(as)S 2657(if)S 2744(the)S 2892(interrupted)S 3359(system)S 3663(call)S 3834(returned)S 4195(this)S 4365(error)S (condition.)404 4587 A 5040 V 1080(5)S 1180(EIO)S 1399(I/O)S 1559(error)S 5160 V 1440(Some)S (physical)335 1698 A 2062(I/O)S 2227(error)S 2454(occurred)S 2837(during)S 3129(an)S 3254(I/O)S 3419(operation,)S 3854(usually)S 10 B 4174(read)S 10 R 4400(or)S 10 B 4514(write)S 10 R 4739(.)S 4819(Operations)S 5280 V 1440(on)S 1566(\256le)S 1721(descriptors)S 2189(that)S 2366(refer)S 2584(to)S 2688(devices)S 3016(that)S 3193(are)S 3343(forcefully)S 3767(taken)S 4011(away)S 4250(or)S 4360(in)S 4464(a)S 4535(bad)S 4706(state)S (will)157 4917 A 5099(also)S 5400 V (provoke)329 1440 A 1794(this)S 1964(error.)S 5568 V 1080(6)S 1180(ENXIO)S 1545(No)S 1693(such)S 1902(device)S 2190(or)S 2299(address)S 5688 V 1440(I/O)S 1605(on)S 1735(a)S 1810(special)S 2120(\256le)S 2279(refers)S 2540(to)S 2648(a)S (subdevice)402 2723 A 3156(that)S 3338(does)S 3553(not)S 3712(exist,)S 3958(or)S (beyond)295 4073 A 4399(the)S 4553(limits)S 4813(of)S 4928(the)S 5082(dev-)S 5808 V 1440(ice.)S 1644(It)S 1742(may)S 1951(also)S 2149(occur)S 2408(when,)S 2686(for)S 2839(example,)S 3240(an)S (illegal)252 3370 A 3657(tape)S 3860(drive)S 4102(unit)S 4293(number)S 4635(is)S 4737(selected)S 5097(or)S 5216(a)S 5928 V 1440(disk)S 1632(pack)S 1847(is)S 1939(not)S 2092(loaded)S 2385(on)S 2510(a)S 2580(drive.)S 6096 V 1080(7)S 1180(E2BIG)S 1516(Arg)S 1698(list)S 1846(too)S (long)178 1999 A 6216 V 1440(An)S 1594(argument)S 2005(list)S (longer)257 2159 A 2447(than)S 2651(ARG_MAX)S 3180(bytes)S 3423(is)S 3521(presented)S 3938(to)S 10 B 4048(execve)S 10 R 4328(.)S 4410(ARG_MAX)S 4940(is)S 5039(set)S 5183(to)S 6336 V (4096)200 1440 A 1676(bytes)S 1924(for)S 2078(16-bit)S 2354(Minix,)S (16384)250 2660 A 2946(bytes)S 3194(for)S 3348(32-bit)S 3624(Minix,)S 3930(and)S 4111(unlimited)S 4532(for)S 4685(Minix-vmd)S 5177(as)S 6456 V 1440(these)S 1672(systems)S 2015(are)S 2164(released.)S 6624 V 1080(8)S 1180(ENOEXEC)S 1702(Exec)S 1929(format)S 2223(error)S 6744 V 1440(A)S 1544(request)S 1866(is)S 1964(made)S 2213(to)S 2322(execute)S 2661(a)S 2737(\256le)S 2897(that,)S (although)351 3104 A 3486(it)S 3573(has)S 3738(the)S 3892(appropriate)S 4382(permissions,)S 4918(does)S 5133(not)S 6864 V 1440(start)S 1639(with)S 1843(a)S 1913(valid)S 2139(magic)S 2410(number,)S 2767(\(see)S 10 B 2955(a.out)S 10 R 3170(\(5\)\).)S 7032 V 1080(9)S 1180(EBADF)S 1561(Bad)S 1748(\256le)S 1902(number)S 7152 V 1440(Either)S 1720(a)S 1798(\256le)S 1960(descriptor)S 2396(refers)S 2660(to)S 2771(no)S 2904(open)S 3133(\256le,)S 3321(or)S 3439(a)S 3518(read)S 3726(\(resp.)S 3987(write\))S 4263(request)S 4588(is)S 4689(made)S 4941(to)S 5053(a)S 5132(\256le)S 7272 V 1440(that)S 1616(is)S 1708(open)S 1928(only)S 2131(for)S (writing)291 2274 A 2590(\(resp.)S 2842(reading\).)S 7903 V 720(Page)S 941(1)S 2669(\()S 2711(June)S 2920(30,)S (1986)200 3070 A 3278(\))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(INTRO)S 1037(\()S 1079(2)S 1137(\))S 2696(Eighth)S (Edition)296 2989 A 4810(INTRO)S 5127(\()S 5169(2)S 5227(\))S 960 V 1080(10)S 1230(ECHILD)S 1651(No)S 1799(children)S 1080 V 10 B 1440(Wait)S 10 R 1677(and)S 1847(the)S 1995(process)S 2322(has)S 2481(no)S 2606(living)S 2865(or)S 2974(unwaited-for)S 3520(children.)S 1248 V 1080(11)S (EAGAIN)388 1230 A 1668(Resource)S 2068(temporarily)S 2563(unavailable)S 1368 V 1440(In)S 1565(a)S 10 B 1651(fork,)S 10 R 1902(the)S 2066(system's)S 2459(process)S 2802(table)S 3039(is)S 3147(full)S 3328(or)S 3453(the)S 3617(user)S 3826(is)S 3934(not)S 4103(allowed)S 4463(to)S 4583(create)S 4867(any)S 5054(more)S 1488 V 1440(processes,)S 1889(otherwise)S 2319(an)S 2451(operation)S 2868(that)S 3056(would)S 3344(cause)S 3605(a)S 3687(process)S 4026(to)S 4141(block)S 4401(was)S 4595(attempted)S 5029(on)S 5166(an)S 1608 V 1440(object)S 1711(in)S (non-blocking)535 1814 A 2374(mode)S 2622(\(see)S 10 B 2810(fcntl)S 10 R 3007(\(2\)\).)S 1776 V 1080(12)S 1230(ENOMEM)S 1728(Not)S (enough)295 1904 A 2224(core)S 1896 V 1440(During)S 1751(an)S 10 B 1872(execve)S 10 R 2179(or)S 10 B 2290(brk,)S 10 R 2499(a)S 2571(program)S 2939(asks)S 3139(for)S 3284(more)S 3518(\(virtual\))S 3876(memory)S 4238(than)S 4438(the)S 4588(system)S 4894(is)S 4988(able)S 5183(to)S 2016 V (supply,)292 1440 A 1763(or)S 1878(a)S 1953(process)S 2285(size)S 2472(limit)S 2692(would)S 2973(be)S (exceeded.)400 3098 A 3553(The)S 3740(maximum)S 4177(size)S 4364(of)S 4478(the)S 4631(data+stack)S 5093(seg-)S 2136 V 1440(ment)S 1669(is)S 1764(set)S 1904(by)S 2032(the)S 10 B 2183(chmem)S 10 R 2497(\(1\))S 2643(program.)S 3062(For)S 3230(Minix-vmd)S 3715(a)S 3788(small)S 4034(data+stack)S 4494(size)S 4679(is)S 4774(increased)S 5183(to)S 2256 V 1440(3)S 1515(megabytes)S 1970(when)S 2213(a)S 2283(program)S 2649(is)S 2741(executed.)S 2424 V 1080(13)S 1230(EACCES)S 1667(Permission)S 2139(denied)S 2544 V 1440(An)S 1597(attempt)S 1933(was)S 2124(made)S 2376(to)S (access)258 2488 A 2780(a)S 2859(\256le)S 3022(in)S 3134(a)S 3213(way)S 3415(forbidden)S 3841(by)S 3976(the)S 4134(protection)S 4577(system.)S 4941(Also)S 5166(an)S 2664 V 1440(attempt)S 1767(to)S 1870(open)S 2090(a)S 2160(device)S 2448(for)S (writing)291 2591 A 2907(that)S 3083(is)S (physically)413 3175 A 3613(write)S 3846(protected.)S 2832 V 1080(14)S 1230(EFAULT)S 1668(Bad)S 1855(address)S 2952 V 1440(An)S 1588(argument)S 1993(of)S 2102(a)S 2172(system)S 2476(call)S 2647(is)S 2739(outside)S 3054(the)S 3202(address)S (space)224 3529 A 3778(allocated)S 4167(to)S 4270(a)S 4340(process.)S 3120 V 1080(15)S 1230(ENOTBLK)S 1752(Block)S 2017(device)S 2305(required)S 3240 V 1440(A)S 1538(plain)S 1764(\256le)S 1918(was)S 2100(mentioned)S 2549(where)S 2821(a)S 2891(block)S 3139(device)S 3427(was)S 3609(required,)S 3995(e.g.,)S 4190(in)S 10 B 4293(mount)S 10 R 4573(.)S 3408 V 1080(16)S 1230(EBUSY)S 1611(Resource)S 2011(busy)S 3528 V 1440(An)S 1589(attempt)S 1917(to)S (mount)256 2021 A 2303(a)S 2374(device)S 2663(that)S 2840(was)S 3023(already)S (mounted)351 3346 A 3723(or)S 3833(an)S 3954(attempt)S 4282(was)S 4466(made)S 4711(to)S (dismount)373 4816 A 5216(a)S 3648 V 1440(device)S 1734(on)S 1865(which)S 2142(there)S 2375(is)S 2473(an)S 2599(active)S 2870(\256le)S 3029(\(open)S 3288(\256le,)S 3472(current)S 3788(directory,)S (mounted-on)485 4207 A 4722(\256le,)S 4906(or)S 5020(active)S 3768 V 1440(text)S 1616(segment\).)S 2060(A)S 2158(request)S 2474(was)S 2656(made)S 2899(to)S 3002(an)S 3122(exclusive)S (access)258 3527 A 3810(device)S 4098(that)S 4274(was)S 4456(already)S 4778(in)S 4881(use.)S 3936 V 1080(17)S 1230(EEXIST)S 1629(File)S 1811(exists)S 4056 V 1440(An)S 1588(existing)S 1931(\256le)S 2085(was)S 2267(mentioned)S 2716(in)S 2819(an)S 2939(inappropriate)S 3501(context,)S 3847(e.g.,)S 10 B 4042(link)S 10 R 4210(.)S 4224 V 1080(18)S 1230(EXDEV)S 1623(Cross-device)S 2174(link)S 4344 V 1440(A)S 1538(hard)S 1742(link)S 1923(to)S 2026(a)S 2096(\256le)S 2250(on)S 2375(another)S 2702(device)S 2990(was)S 3172(attempted.)S 4512 V 1080(19)S (ENODEV)416 1230 A 1696(No)S 1844(such)S 2053(device)S 4632 V 1440(An)S 1593(attempt)S 1926(was)S 2114(made)S 2363(to)S (access)258 2472 A 2761(a)S 2837(device)S 3131(that)S 3313(is)S 3411(not)S 3570(con\256gured)S 4031(by)S 4162(the)S 4316(system,)S 4651(i.e.,)S 4830(there)S 5063(is)S 5161(no)S 4752 V 1440(driver)S 1706(for)S 1849(the)S 1997(device.)S 4920 V 1080(20)S 1230(ENOTDIR)S 1724(Not)S 1900(a)S 1970(directory)S 5040 V 1440(A)S (non-directory)548 1540 A 2115(was)S 2299(speci\256ed)S 2684(where)S 2958(a)S 3030(directory)S 3421(is)S 3515(required,)S 3903(for)S 4048(example,)S 4441(in)S 4546(a)S 4618(path)S 4819(name)S 5065(or)S 5177(as)S 5160 V 1440(an)S 1560(argument)S 1965(to)S 10 B 2068(chdir)S 10 R 2298(.)S 5328 V 1080(21)S 1230(EISDIR)S 1606(Is)S 1704(a)S 1774(directory)S 5448 V 1440(An)S 1588(attempt)S 1915(to)S 2018(write)S 2251(on)S 2376(a)S 2446(directory.)S 5616 V 1080(22)S (EINVAL)377 1230 A 1657(Invalid)S 1967(argument)S 5736 V 1440(Some)S 1695(invalid)S 2000(argument:)S (dismounting)501 2434 A 2961(a)S (non-mounted)535 3033 A 3595(device,)S 3910(mentioning)S 4394(an)S (unknown)373 4516 A 4916(signal)S 5183(in)S 5856 V 10 B 1440(signal,)S 10 R 1754(or)S 1876(some)S 2126(other)S 2371(argument)S 2789(inappropriate)S 3363(for)S 3518(the)S 3678(call.)S 3911(Also)S 4138(set)S 4287(by)S 4424(math)S 4662(functions,)S 5098(\(see)S 5976 V 10 B 1440(math)S 10 R 1664(\(3\)\).)S 6144 V 1080(23)S 1230(ENFILE)S 1629(File)S 1811(table)S 2032(over\257ow)S 6264 V 1440(The)S 1622(system's)S 1999(table)S 2220(of)S 2329(open)S 2549(\256les)S 2742(is)S 2834(full,)S 3024(and)S 3194(temporarily)S 3689(no)S 3814(more)S 10 I 4046(opens)S 10 R 4305(can)S 4470(be)S (accepted.)378 4590 A 6432 V 1080(24)S 1230(EMFILE)S 1645(Too)S 1832(many)S 2080(open)S 2300(\256les)S 6552 V 1440(The)S 1625(limit)S 1843(on)S 1971(the)S 2122(number)S 2457(of)S 2569(open)S 2792(\256les)S 2988(per)S 3145(process,)S 3500(OPEN_MAX,)S 4102(is)S (reached.)339 4197 A 4590(As)S 4731(released,)S 5116(this)S 6672 V 1440(limit)S 1655(is)S 1747(20)S 1872(for)S 2015(Minix,)S 2310(and)S 2480(30)S 2605(for)S 2748(Minix-vmd.)S 6840 V 1080(25)S 1230(ENOTTY)S 1685(Not)S 1861(a)S 1931(typewriter)S 6960 V 1440(The)S 1624(\256le)S 1780(mentioned)S 2231(in)S 2336(an)S 10 B 2458(ioctl)S 10 R 2670(is)S 2764(not)S 2919(a)S 2991(terminal)S 3354(or)S 3465(one)S 3637(of)S 3748(the)S 3898(devices)S 4227(to)S 4332(which)S 4605(this)S 4777(call)S 4951(applies.)S 7080 V 1440(\(Often)S 1729(seen)S 1933(error)S 2155(from)S 2376(programs)S 2781(with)S (bugs)189 2985 A 3199(in)S 3302(their)S 3512(error)S 3734(reporting)S 4128(code.\))S 7248 V 1080(26)S 1230(ETXTBSY)S 1735(Text)S 1945(\256le)S 2099(busy)S 7368 V 1440(Attempt)S 1795(to)S 1898(execute)S 2231(a)S 2301(program)S 2667(that)S 2843(is)S 2935(open)S 3155(for)S (writing.)316 3298 A 3664(Obsolete)S (under)229 4047 A 4301(Minix.)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2669(\()S 2711(June)S 2920(30,)S (1986)200 3070 A 3278(\))S 4990(Page)S 5211(2)S 8143 V EP %%Page: 3 3 BP /slant 0 def /height 0 def 480 V 10 R 720(INTRO)S 1037(\()S 1079(2)S 1137(\))S 2696(Eighth)S (Edition)296 2989 A 4810(INTRO)S 5127(\()S 5169(2)S 5227(\))S 960 V 1080(27)S 1230(EFBIG)S 1572(File)S 1754(too)S 1907(large)S 1080 V 1440(The)S 1622(size)S 1804(of)S 1913(a)S 1983(\256le)S (exceeded)375 2137 A 2537(the)S 2685(maximum)S (\(little)219 3117 A 3361(over)S 3565(64)S 3690(megabytes)S 4145(for)S 4288(the)S 4436(V2)S 4584(\256le)S 4738(system\).)S 1248 V 1080(28)S 1230(ENOSPC)S 1667(No)S (space)224 1815 A 2064(left)S 2224(on)S 2349(device)S 1368 V 1440(A)S 10 B 1547(write)S 10 R 1806(to)S 1918(an)S 2047(ordinary)S 2422(\256le,)S 2610(the)S 2767(creation)S 3126(of)S 3244(a)S 3323(directory)S 3722(or)S 3841(symbolic)S 4244(link,)S 4460(or)S 4579(the)S 4737(creation)S 5097(of)S 5216(a)S 1488 V 1440(directory)S 1831(entry)S 2065(failed)S (because)319 2322 A 2668(no)S 2795(more)S 3029(disk)S 3223(blocks)S 3512(are)S 3663(available)S 4054(on)S 4181(the)S 4331(\256le)S 4487(system,)S 4817(or)S 4927(the)S 5076(allo-)S 1608 V 1440(cation)S 1716(of)S 1830(an)S (inode)223 1955 A 2208(for)S 2356(a)S 2431(newly)S 2707(created)S 3029(\256le)S 3188(failed)S (because)319 3448 A 3797(no)S 3927(more)S (inodes)262 4164 A 4457(are)S 4612(available)S 5007(on)S 5138(the)S 1728 V 1440(\256le)S 1594(system.)S 1896 V 1080(29)S 1230(ESPIPE)S 1606(Illegal)S 1889(seek)S 2016 V 1440(An)S 10 B 1601(lseek)S 10 R 1852(was)S 2047(issued)S 2336(to)S 2452(a)S 2535(pipe)S 2746(or)S 2868(TCP/IP)S 3209(channel.)S 3610(This)S 3827(error)S 4062(may)S 4273(also)S 4473(be)S 4607(issued)S 4897(for)S 5054(other)S 2136 V (non-seekable)531 1440 A 1996(devices.)S 2304 V 1080(30)S 1230(EROFS)S 1594(Read-only)S 2038(\256le)S 2192(system)S 2424 V 1440(An)S 1588(attempt)S 1915(to)S 2018(modify)S 2333(a)S 2403(\256le)S 2557(or)S 2666(directory)S 3055(was)S 3237(made)S 3480(on)S 3605(a)S 3675(device)S (mounted)351 3963 A 4339(read-only.)S 2592 V 1080(31)S 1230(EMLINK)S 1673(Too)S 1860(many)S 2108(links)S 2712 V 1440(An)S 1595(attempt)S 1929(to)S 2039(make)S 2289(more)S 2528(than)S 2733(a)S 2810(certain)S 3117(number)S 3456(of)S 3572(hard)S 3783(links)S 4010(to)S 4121(a)S 4199(\256le.)S 4411(The)S 4601(advertized)S 5054(max-)S 2832 V 1440(imum,)S 1726(LINK_MAX,)S 2305(is)S (127,)175 2399 A 2601(but)S 2756(Minix-vmd)S 3240(uses)S 3440(a)S 3512(much)S 3762(larger)S 4025(maximum)S 4459(of)S (32767)250 4569 A 4845(for)S 4989(the)S 5138(V2)S 2952 V 1440(\256le)S 1594(system.)S 3120 V 1080(32)S 1230(EPIPE)S 1550(Broken)S 1871(pipe)S 3240 V 1440(A)S 1541(write)S 1777(on)S 1905(a)S 1978(pipe)S 2179(or)S 2291(TCP/IP)S 2622(channel)S 2963(for)S 3109(which)S 3383(there)S 3613(is)S 3708(no)S 3836(process)S 4166(to)S 4272(read)S 4475(the)S 4627(data.)S 4874(This)S 5082(con-)S 3360 V (dition)234 1440 A 1709(normally)S 2107(generates)S 2523(the)S 2681(signal)S 2955(SIGPIPE;)S 3388(the)S 3545(error)S 3776(is)S 3877(returned)S 4247(if)S 4343(the)S 4500(signal)S 4774(is)S (caught)268 4875 A 5177(or)S 3480 V (ignored.)332 1440 A 3648 V 1080(33)S 1230(EDOM)S 1577(Math)S 1814(argument)S 3768 V 1440(The)S 1622(argument)S 2027(of)S 2136(a)S 2206(function)S 2566(in)S 2669(the)S 2817(math)S 3043(package)S 3398(is)S 3490(out)S 3643(of)S 3752(the)S 3900(domain)S 4226(of)S 4335(the)S 4483(function.)S 3936 V 1080(34)S (ERANGE)410 1230 A 1690(Result)S 1972(too)S 2125(large)S 4056 V 1440(The)S 1622(value)S 1865(of)S 1974(a)S 2044(function)S 2404(in)S 2507(the)S 2655(math)S 2881(package)S 3236(is)S 3328(unrepresentable)S 3991(within)S 4273(machine)S 4639(precision.)S 4224 V 1080(35)S 1230(EDEADLK)S 1758(Resource)S 2158(deadlock)S 2546(avoided)S 4344 V 1440(A)S 1541(process)S 1871(attempts)S 2240(to)S (place)213 2346 A 2587(a)S 2660(blocking)S 3039(lock)S 3240(on)S 3368(a)S 3442(\256le)S 3600(that)S 3780(is)S 3876(already)S 4202(locked)S 4499(by)S 4628(another)S 4959(process)S 4464 V 1440(and)S 1616(that)S 1798(process)S 2131(is)S (waiting)302 2228 A 2560(for)S 2708(the)S 2861(\256rst)S 3048(process)S 3380(to)S 3488(unlock)S 3791(a)S 3866(\256le)S 4025(that)S 4206(\256rst)S 4393(process)S 4725(already)S 5052(has)S 5216(a)S 4584 V 1440(lock)S 1638(on.)S 1813(\(The)S 2029(classic)S 2323("lock)S 2562(A,)S 2685(lock)S 2883(B")S 3016(by)S 3141(process)S 3468(1,)S 3568(and)S 3738("lock)S 3977(B,)S 4094(lock)S 4292(A")S 4431(by)S 4556(process)S 4883(2.\))S 4752 V 1080(36)S (ENAMETOOLONG)848 1230 A 2128(File)S 2310(name)S 2553(too)S (long)178 2706 A 4872 V 1440(The)S 1622(path)S 1820(name)S (exceeds)319 2063 A 2407(PATH_MAX)S 2981(characters.)S 3466(PATH_MAX)S 4040(equals)S (255)150 4322 A 4497(as)S 4606(distributed.)S 5040 V 1080(37)S 1230(ENOLCK)S 1690(No)S 1838(locks)S 2075(available)S 5160 V 1440(The)S 1622(system's)S 1999(table)S 2220(of)S 2329(active)S 2595(locks)S 2832(is)S 2924(full.)S 5328 V 1080(38)S 1230(ENOSYS)S 1673(Function)S 2055(not)S 2208(implemented)S 5448 V 1440(The)S 1622(system)S 1926(call)S 2097(is)S 2189(not)S (supported.)421 2342 A 2813(Either)S 3085(an)S 3205(old)S 3358(program)S 3724(uses)S 3922(an)S 4042(obsolete)S 4402(call,)S 4598(or)S 4707(a)S 4777(program)S 5143(for)S 5568 V 1440(a)S 1510(more)S 1742(capable)S 2075(system)S 2379(is)S 2471(run)S 2630(on)S 2755(a)S 2825(less)S 3001(capable)S 3334(system.)S 5736 V 1080(39)S 1230(ENOTEMPTY)S 1892(Directory)S 2304(not)S 2457(empty)S 5856 V 1440(A)S 1538(directory)S 1927(with)S 2131(entries)S 2425(other)S 2657(than)S 2855(.)S 2905(and)S 3075(..)S 3175(was)S (supplied)340 3357 A 3722(to)S 3825(a)S 3895(remove)S 4222(directory)S 4611(or)S 4720(rename)S 5042(call.)S 6024 V 1080(40)S 1230(ELOOP)S 1606(Too)S 1793(many)S 2041(symbolic)S 2434(links)S 6144 V 1440(A)S 1542(path)S 1744(name)S (lookup)278 1991 A (involved)351 2298 A 2678(more)S 2914(than)S 3116(SYMLOOP)S 3627(symbolic)S 4024(links.)S 4298(SYMLOOP)S 4810(equals)S 5097(8)S 5177(as)S 6264 V 1440(distributed.)S 1945(\(Minix-vmd\))S 6432 V 1080(50)S 1230(EPACKSIZE)S 1825(Invalid)S 2135(packet)S 2423(size)S 6600 V 1080(51)S 1230(EOUTOFBUFS)S 1931(Not)S (enough)295 2107 A 2427(buffers)S 2738(left)S 6768 V 1080(52)S 1230(EBADIOCTL)S 1853(Illegal)S 2136(ioctl)S 2340(for)S 2483(device)S 6936 V 1080(53)S 1230(EBADMODE)S 1852(Bad)S 2039(mode)S 2287(in)S 2390(ioctl)S 7104 V 1080(54)S 1230(EWOULDBLOCK)S 2060(Would)S 2358(block)S 7272 V 1080(55)S (EBADDEST)528 1230 A 1808(Bad)S 1995(destination)S 2461(address)S 7903 V 720(Page)S 941(3)S 2669(\()S 2711(June)S 2920(30,)S (1986)200 3070 A 3278(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 4 4 BP /slant 0 def /height 0 def 480 V 10 R 720(INTRO)S 1037(\()S 1079(2)S 1137(\))S 2696(Eighth)S (Edition)296 2989 A 4810(INTRO)S 5127(\()S 5169(2)S 5227(\))S 960 V 1080(56)S 1230(EDSTNOTRCH)S 1948(Destination)S 2437(not)S (reachable)387 2590 A 1128 V 1080(57)S (EISCONN)438 1230 A 1718(Already)S (connected)408 2068 A 1296 V 1080(58)S (EADDRINUSE)646 1230 A 1926(Address)S 2281(in)S 2384(use)S 1464 V 1080(59)S (ECONNREFUSED)797 1230 A (Connection)463 2077 A 2565(refused)S 1632 V 1080(60)S (ECONNRESET)657 1230 A (Connection)463 1937 A 2425(reset)S 1800 V 1080(61)S (ETIMEDOUT)590 1230 A (Connection)463 1870 A 2358(timed)S 2612(out)S 1968 V 1080(62)S 1230(EURG)S 1555(Urgent)S 1860(data)S 2053(present)S 2136 V 1080(63)S (ENOURG)421 1230 A 1701(No)S 1849(urgent)S 2131(data)S 2324(present)S 2304 V 1080(64)S (ENOTCONN)556 1230 A 1836(No)S (connection)441 1984 A 2472 V 1080(65)S 1230(ESHUTDOWN)S 1920(Already)S 2270(shutdown)S 2640 V 1080(66)S (ENOCONN)494 1230 A 1774(No)S 1922(such)S (connection)441 2131 A 2808 V 1080(67)S 1230(EINPROGRESS)S 1959(Operation)S 2387(now)S 2585(in)S 2688(progress)S 2976 V 1080(68)S (EALREADY)545 1230 A 1825(Operation)S 2253(already)S 2575(in)S 2678(progress)S 3144 V 9 R 720(D)S 722(DE)S 790(EF)S 848(FI)S 900(IN)S 933(NI)S 1001(IT)S 1034(TI)S 1092(IO)S 1125(ON)S 1193(NS)S 1261(S)S 3264 V 10 R 1080(Process)S 1413(ID)S 3384 V 1330(Each)S 1559(active)S 1827(process)S 2156(in)S 2262(the)S 2413(system)S 2720(is)S 2815(uniquely)S 3194(identi\256ed)S 3602(by)S 3730(a)S (positive)318 3803 A 4149(integer)S 4457(called)S 4726(a)S 4799(process)S 5129(ID.)S 3504 V 1330(The)S 1514(range)S 1765(of)S 1876(this)S 2048(ID)S 2182(is)S 2276(from)S 2499(1)S 2575(to)S (29999.)275 2679 A 3005(The)S 3188(special)S 3494(process)S 3822(with)S 4027(process)S 4355(ID)S 4488(1)S 4564(is)S 10 B 4657(init)S 10 R 4803(,)S 4854(the)S 5003(ances-)S 3624 V 1330(tor)S 1467(of)S 1576(all)S 1702(processes.)S 3792 V 1080(Parent)S 1363(process)S 1690(ID)S 3912 V 1330(A)S 1429(new)S 1623(process)S 1951(is)S 2044(created)S 2362(by)S 2488(a)S 2559(currently)S 2950(active)S 3218(process;)S 3575(\(see)S 10 B 3765(fork)S 10 R 3950(\(2\)\).)S 4179(The)S 4363(parent)S 4642(process)S 4971(ID)S 5105(of)S 5216(a)S 4032 V 1330(process)S 1657(is)S 1749(the)S 1897(process)S 2224(ID)S 2356(of)S 2465(its)S 2585(creator,)S 2916(unless)S 3192(the)S 3340(creator)S 3646(dies,)S 3858(then)S 10 B 4056(init)S 10 R 4227(becomes)S 4604(the)S 4752(parent)S 5029(of)S 5138(the)S 4152 V 1330(orphaned)S 1729(process.)S 4320 V 1080(Process)S (Group)257 1413 A 1695(ID)S 4440 V 1330(Each)S 1561(active)S 1831(process)S 2162(is)S 2258(a)S 2332(member)S 2691(of)S 2804(a)S 2878(process)S (group)234 3209 A 3472(that)S 3652(is)S 3748(identi\256ed)S 4157(by)S 4287(a)S (positive)318 4362 A 4710(integer)S 5020(called)S 4560 V 1330(the)S 1482(process)S (group)234 1813 A 2076(ID.)S 2262(This)S 2470(is)S 2566(the)S 2717(process)S 3047(ID)S 3182(of)S 3294(the)S (group)234 3445 A 3707(leader.)S 4032(This)S (grouping)362 4239 A 4629(permits)S 4959(the)S 5110(sig-)S 4680 V 1330(naling)S 1606(of)S 1715(related)S 2015(processes)S 2426(\(see)S 10 B (kill)140 2614 A 10 R 2754(\(2\)\).)S 4848 V 1080(Real)S 1290(User)S 1506(ID)S 1638(and)S 1808(Real)S (Group)257 2018 A 2300(ID)S 4968 V 1330(Each)S 1557(user)S 1750(on)S 1875(the)S 2023(system)S 2327(is)S 2419(identi\256ed)S 2824(by)S 2949(a)S (positive)318 3019 A 3362(integer)S 3667(termed)S 3972(the)S 4120(real)S 4297(user)S 4490(ID.)S 5136 V 1330(Each)S 1566(user)S 1768(is)S 1869(also)S 2065(a)S 2144(member)S 2508(of)S 2626(one)S 2805(or)S 2923(more)S (groups.)298 3164 A 3521(One)S 3724(of)S 3843(these)S (groups)273 4085 A 4393(is)S (distinguished)535 4495 A 5065(from)S 5256 V 1330(others)S 1604(and)S 1777(used)S 1989(in)S 2095(implementing)S (accounting)441 2680 A (facilities.)373 3148 A 3573(The)S (positive)318 3757 A 4102(integer)S (corresponding)575 4409 A 5011(to)S 5116(this)S 5376 V (distinguished)535 1330 A (group)234 1895 A 2159(is)S 2256(termed)S 2566(the)S 2719(real)S (group)234 2901 A 3165(ID.)S 3352(\(Under)S 3668(standard)S 4039(Minix)S 4314(this)S 4490(is)S 4588(the)S 4742(only)S (group)234 4951 A 5216(a)S 5496 V 1330(process)S 1657(can)S 1822(be)S 1942(a)S 2012(member)S 2367(of.\))S 5664 V 1330(All)S 1494(processes)S 1915(have)S 2140(a)S 2220(real)S 2407(user)S 2610(ID)S 2752(and)S 2932(real)S (group)234 3119 A 3388(ID.)S 3580(These)S 3856(are)S (initialized)403 4015 A 4453(from)S 4684(the)S 4842(equivalent)S 5784 V 1330(attributes)S 1730(of)S 1839(the)S 1987(process)S 2314(that)S 2490(created)S 2807(it.)S 5952 V 1080(Effective)S 1476(User)S 1692(Id,)S 1826(Effective)S (Group)257 2222 A 2504(Id,)S 2638(and)S (Access)286 2808 A (Groups)296 3119 A 6072 V (Access)286 1330 A 1642(to)S 1746(system)S 2051(resources)S 2458(is)S (governed)374 2551 A 2951(by)S 3077(three)S 3305(values:)S 3616(the)S 3765(effective)S 4145(user)S 4339(ID,)S 4497(the)S 4646(effective)S (group)234 5027 A 6192 V 1330(ID,)S 1487(and)S 1657(the)S (group)234 1805 A (access)258 2064 A 2347(list.)S 6360 V 1330(The)S 1527(effective)S 1921(user)S 2129(ID)S 2276(and)S 2461(effective)S (group)234 2855 A 3129(ID)S 3276(are)S (initially)313 3440 A 3793(the)S 3957(process's)S 4373(real)S 4566(user)S 4775(ID)S 4923(and)S 5109(real)S 6480 V (group)234 1330 A 1594(ID)S 1731(respectively.)S 2298(Either)S 2575(may)S 2778(be)S 2903(modified)S (through)312 3296 A 3638(execution)S 4059(of)S 4173(a)S (set-user-ID)455 4248 A 4733(or)S (set-group-)414 4847 A 6600 V 1330(ID)S 1462(file)S 1622(\(possibly)S 2015(by)S 2140(one)S 2310(its)S 2430(ancestors\))S 2864(\(see)S 10 B 3052(execve)S 10 R 3332(\(2\)\).)S 6768 V 1330(The)S (group)234 1516 A (access)258 1779 A 2066(list)S 2218(is)S 2314(an)S (additional)402 2438 A 2869(set)S 3010(of)S (group)234 3123 A 3386(ID's)S 3595(used)S 3808(only)S 4015(in)S 4122(determining)S 4637(resource)S (acces-)253 5008 A 6888 V (sibility.)304 1330 A (Access)286 1695 A 2017(checks)S 2327(are)S 2487(performed)S 2943(as)S 3063(described)S 3485(below)S 3767(in)S 3881(``File)S (Access)286 4142 A 4464(Permissions''.)S 5104(The)S 7008 V 1330(maximum)S 1786(number)S 2142(of)S (additional)402 2275 A (group)234 2726 A 3009(ID's)S 3238(is)S 3355(NGROUPS_MAX.)S 4211(For)S 4401(Minix)S 4696(this)S 4891(is)S 5008(0,)S 5133(but)S 7128 V 1330(Minix-vmd)S (supports)340 1822 A 2197(a)S 2277(list)S 2435(of)S 2554(up)S 2689(to)S 2802(16)S (additional)402 2937 A (group)234 3374 A 3642(ID's.)S 3906(\(Also)S (known)273 4164 A 4471(as)S (``supplemental'')672 4589 A 7248 V (group)234 1330 A 1589(ID's.\))S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2669(\()S 2711(June)S 2920(30,)S (1986)200 3070 A 3278(\))S 4990(Page)S 5211(4)S 8143 V EP %%Page: 5 5 BP /slant 0 def /height 0 def 480 V 10 R 720(INTRO)S 1037(\()S 1079(2)S 1137(\))S 2696(Eighth)S (Edition)296 2989 A 4810(INTRO)S 5127(\()S 5169(2)S 5227(\))S 960 V 1080(Super-user)S 1080 V 1330(A)S 1435(process)S 1769(is)S (recognized)442 1868 A 2342(as)S 2458(a)S 10 I 2535(super-user)S 10 R 2997(process)S 3331(and)S 3508(is)S 3607(granted)S 3941(special)S 4254(privileges)S 4684(if)S 4779(its)S 4907(effective)S 1200 V 1330(user)S 1523(ID)S 1655(is)S 1747(0.)S 1368 V 1080(Descriptor)S 1488 V 1330(An)S 1492(integer)S 1811(assigned)S 2196(by)S 2335(the)S 2497(system)S 2815(when)S 3072(a)S 3156(\256le)S 3324(or)S 3447(device)S 3749(is)S 3855(referenced)S 4321(by)S 10 B 4461(open)S 10 R 4668(\(2\),)S 10 B (dup)168 4851 A 10 R 5019(\(2\))S 5177(or)S 1608 V 10 B 1330(fcntl)S 10 R 1527(\(2\))S 1681(which)S 1963(uniquely)S 2350(identi\256es)S 2755(an)S (access)258 2886 A 3180(path)S 3389(to)S 3503(that)S 3690(\256le)S 3854(or)S 3973(device)S 4271(from)S 4502(a)S 4582(given)S 4840(process)S 5177(or)S 1728 V 1330(any)S 1500(of)S 1609(its)S 1729(children.)S 1896 V 1080(File)S 1262(Descriptor)S 2016 V 1330(Older,)S 1610(and)S 1780(often)S 2012(used)S 2221(name)S 2464(for)S 2607(a)S 2677(descriptor.)S 2184 V 1080(File)S 1262(Name)S 2304 V 1330(Names)S 1642(consisting)S 2081(of)S 2197(up)S 2329(to)S 2439(NAME_MAX)S 3053(characters)S 3495(may)S 3700(be)S 3827(used)S 4043(to)S 4153(name)S 4404(an)S 4532(ordinary)S 4906(\256le,)S 5093(spe-)S 2424 V 1330(cial)S 1510(\256le,)S 1697(or)S 1814(directory.)S 2261(NAME_MAX)S 2876(is)S 2976(the)S 3132(maximum)S 3572(of)S 3689(the)S 3845(maximum)S 4285(\256le)S 4447(name)S 4698(lengths)S 5021(of)S 5138(the)S 2544 V (supported)396 1330 A 1753(\256le)S 1909(systems.)S 2304(Excess)S 2611(characters)S 3048(are)S (ignored)307 3199 A 3533(when)S 3779(too)S (long)178 3935 A 4141(\256le)S 4298(names)S 4583(are)S 4735(used)S 4947(for)S 5093(\256les)S 2664 V 1330(in)S 1437(a)S 1511(given)S 1763(\256le)S 1921(system.)S 2279(The)S 2465(maximum)S 2901(\256le)S 3059(name)S 3306(length)S 3586(of)S 3699(the)S 3851(V1)S 4003(and)S 4176(V2)S 4327(\256le)S 4484(systems)S 4830(is)S 4925(14)S 5053(char-)S 2784 V 1330(acters.)S 1641(The)S 1823(Minix-vmd)S 2305("\257ex")S 2563(variants)S 2907(of)S 3016(V1)S 3164(and)S 3334(V2)S 3482(have)S 3697(a)S 3767(60)S 3892(character)S 4288(maximum.)S 2952 V 1330(The)S 1513(characters)S 1949(in)S 2053(a)S 2124(file)S 2285(name)S 2529(may)S 2728(assume)S 3050(any)S 3222(value)S 3467(representable)S 4032(in)S 4137(eight)S 4365(bits)S 4537(excluding)S 4960(0)S 5037(\(null\))S 3072 V 1330(and)S 1500(the)S 1648(ASCII)S 1937(code)S 2152(for)S 2295(/)S 2348(\(slash\).)S 3240 V 1330(Note)S 1551(that)S 1727(it)S 1808(is)S 1900(generally)S 2300(unwise)S 2610(to)S 2713(use)S 2872(one)S 3042(of)S 3151(\\'"<>\(\);\304$\303&*|{}[]?)S 3989(as)S 4098(part)S 4280(of)S 4389(file)S 4549(names)S (because)319 4832 A 5177(of)S 3360 V 1330(the)S 1478(special)S 1783(meaning)S 2154(attached)S 2515(to)S 2618(these)S 2850(characters)S 3285(by)S 3410(the)S 3558(shell.)S 3528 V 1080(Path)S 1284(Name)S 3648 V 1330(A)S 1432(path)S 1635(name)S 1883(is)S 1980(a)S 2055(null-terminated)S 2706(character)S 3107(string)S 3366(starting)S 3698(with)S 3907(an)S 4032(optional)S 4391(slash)S 4622(\(/\),)S 4773(followed)S 5161(by)S 3768 V 1330(zero)S 1532(or)S 1644(more)S 1879(directory)S 2271(names)S 2556(separated)S 2965(by)S 3092(slashes,)S 3429(optionally)S 3863(followed)S 4248(by)S 4375(a)S 4447(\256le)S 4603(name.)S 4898(The)S 5082(total)S 3888 V 1330(length)S 1606(of)S 1715(a)S 1785(path)S 1983(name)S 2226(must)S 2446(be)S 2566(less)S 2742(than)S 2940(PATH_MAX)S 3514(characters)S (\(255)184 3949 A 4158(as)S 4267(distributed.\))S 4056 V 1330(If)S 1430(a)S 1507(path)S 1713(name)S 1964(begins)S 2259(with)S 2471(a)S 2549(slash,)S 2808(the)S 2964(path)S 3170(search)S 3461(begins)S 3756(at)S 3862(the)S 10 I 4018(root)S 10 R 4218(directory.)S 4665(Otherwise,)S 5138(the)S 4176 V 1330(search)S 1619(begins)S 1912(from)S 2138(the)S 2291(current)S 2607(working)S 2972(directory.)S 3416(A)S 3519(slash)S 3750(by)S 3880(itself)S 4112(names)S 4399(the)S 4552(root)S 4744(directory.)S 5188(A)S 4296 V 1330(null)S 1511(pathname)S 1927(is)S (illegal,)277 2019 A 2321(use)S 2480(".")S 2612(to)S 2715(refer)S 2932(to)S 3035(the)S 3183(current)S 3494(working)S 3854(directory.)S 4464 V 1080(Directory)S 4584 V 1330(A)S 1432(directory)S 1825(is)S 1922(a)S 1997(special)S 2307(type)S 2510(of)S 2624(\256le)S 2783(that)S 2964(contains)S 3329(entries)S 3628(that)S 3809(are)S 3963(references)S 4409(to)S 4517(other)S 4754(\256les.)S 5002(Direc-)S 4704 V 1330(tory)S 1535(entries)S 1847(are)S 2014(called)S 2298(links.)S 2586(By)S (convention,)471 2746 A 3260(a)S 3348(directory)S 3755(contains)S 4133(at)S 4249(least)S 4477(two)S 4670(links,)S 4932(.)S 4999(and)S (..,)75 5186 A 4824 V 1330(referred)S 1679(to)S 1785(as)S 10 I 1897(dot)S 10 R 2053(and)S 10 I 2226(dot-dot)S 10 R 2544(respectively.)S 3109(Dot)S 3288(refers)S 3547(to)S 3654(the)S 3806(directory)S 4199(itself)S 4430(and)S 4604(dot-dot)S 4923(refers)S 5183(to)S 4944 V 1330(its)S 1450(parent)S 1727(directory.)S 5112 V 1080(Root)S 1300(Directory)S 1712(and)S 1882(Current)S 2215(Working)S 2597(Directory)S 5232 V 1330(Each)S 1560(process)S 1890(has)S 2052(associated)S 2494(with)S 2701(it)S 2785(a)S 2858(concept)S 3199(of)S 3312(a)S 3386(root)S 3577(directory)S 3970(and)S 4144(a)S 4218(current)S 4533(working)S 4897(directory)S 5352 V 1330(for)S 1477(the)S 1629(purpose)S 1976(of)S 2089(resolving)S 2492(path)S 2694(name)S 2941(searches.)S 3362(A)S 3464(process's)S 3868(root)S 4059(directory)S 4451(need)S 4669(not)S 4825(be)S 4948(the)S 5099(root)S 5472 V 1330(directory)S 1719(of)S 1828(the)S 1976(root)S 2163(\256le)S 2317(system.)S 5640 V 1080(File)S (Access)286 1262 A 1573(Permissions)S 5760 V 1330(Every)S 1597(\256le)S 1752(in)S 1856(the)S 2005(\256le)S 2160(system)S 2465(has)S 2625(a)S 2696(set)S 2834(of)S (access)258 2944 A 3228(permissions.)S 3784(These)S 4051(permissions)S 4558(are)S 4709(used)S 4920(in)S 5025(deter-)S 5880 V 1330(mining)S 1647(whether)S 2005(a)S 2083(process)S 2417(may)S 2622(perform)S 2979(a)S 3056(requested)S 3474(operation)S 3886(on)S 4018(the)S 4173(\256le)S 4334(\(such)S 4584(as)S 4700(opening)S 5055(a)S 5132(\256le)S 6000 V 1330(for)S (writing\).)350 1492 A (Access)286 1911 A 2241(permissions)S 2765(are)S 2933(established)S 3424(at)S 3541(the)S 3709(time)S 3933(a)S 4023(\256le)S 4197(is)S 4309(created.)S 4696(They)S 4948(may)S 5166(be)S 6120 V 1330(changed)S 1690(at)S 1788(some)S 2025(later)S 2230(time)S (through)312 2434 A 2771(the)S 10 B 2919(chmod)S 10 R 3210(\(2\))S 3353(call.)S 6288 V 1330(File)S (access)258 1512 A 1795(is)S 1887(broken)S 2191(down)S (according)397 2439 A 2861(to)S 2965(whether)S 3316(a)S 3387(file)S 3548(may)S 3747(be:)S 3896(read,)S (written,)311 4121 A 4458(or)S 4568(executed.)S 5002(Direc-)S 6408 V 1330(tory)S 1517(files)S 1716(use)S 1875(the)S 2023(execute)S 2356(permission)S 2822(to)S 2925(control)S 3235(if)S 3322(the)S 3470(directory)S 3859(may)S 4057(be)S 4177(searched.)S 6576 V 1330(File)S (access)258 1520 A 1811(permissions)S 2324(are)S 2481(interpreted)S 2951(by)S 3084(the)S 3240(system)S 3552(as)S 3669(they)S 3876(apply)S 4133(to)S 4245(three)S 4481(different)S 4863(classes)S 5177(of)S 6696 V 1330(users:)S 1610(the)S 1778(owner)S 2075(of)S 2204(the)S 2372(file,)S 2577(those)S 2834(users)S 3086(in)S 3209(the)S 3377(file's)S (group,)259 3630 A (anyone)290 3934 A 4269(else.)S 4521(Every)S 4807(file)S 4987(has)S 5166(an)S 6816 V 1330(independent)S 1850(set)S 1991(of)S (access)258 2104 A 2391(permissions)S 2900(for)S (each)185 3047 A 3262(of)S 3376(these)S 3613(classes.)S 3973(When)S 4243(an)S (access)258 4368 A 4656(check)S 4921(is)S 5018(made,)S 6936 V 1330(the)S 1479(system)S 1784(decides)S 2111(if)S 2198(permission)S (should)267 2664 A 2956(be)S 3076(granted)S 3403(by)S 3528(checking)S 3916(the)S (access)258 4064 A 4347(information)S 4847(applicable)S 7056 V 1330(to)S 1433(the)S 1581(caller.)S 7224 V 1330(Read,)S 1587(write,)S 1845(and)S 2015(execute/search)S 2634(permissions)S 3139(on)S 3264(a)S 3334(file)S 3494(are)S 3643(granted)S 3970(to)S 4073(a)S 4143(process)S 4470(if:)S 7392 V 1330(The)S 1512(process's)S 1912(effective)S 2291(user)S 2484(ID)S 2616(is)S 2708(that)S 2884(of)S 2993(the)S 3141(super-user.)S 7903 V 720(Page)S 941(5)S 2669(\()S 2711(June)S 2920(30,)S (1986)200 3070 A 3278(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 6 6 BP /slant 0 def /height 0 def 480 V 10 R 720(INTRO)S 1037(\()S 1079(2)S 1137(\))S 2696(Eighth)S (Edition)296 2989 A 4810(INTRO)S 5127(\()S 5169(2)S 5227(\))S 960 V 1330(The)S 1518(process's)S 1924(effective)S 2309(user)S 2508(ID)S 2646(matches)S 3007(the)S 3161(user)S 3360(ID)S 3498(of)S 3613(the)S 3767(owner)S 4050(of)S 4165(the)S 4319(file)S 4485(and)S 4661(the)S 4815(owner)S 5098(per-)S 1080 V 1330(missions)S 1706(allow)S 1955(the)S (access.)283 2103 A 1248 V 1330(The)S 1512(process's)S 1912(effective)S 2291(user)S 2484(ID)S 2617(does)S 2827(not)S 2981(match)S 3253(the)S 3402(user)S 3596(ID)S 3729(of)S 3839(the)S 3988(owner)S 4266(of)S 4376(the)S 4525(file,)S 4711(and)S 4882(either)S 5138(the)S 1368 V 1330(process's)S 1733(effective)S (group)234 2115 A 2376(ID)S 2510(matches)S 2867(the)S (group)234 3017 A 3278(ID)S 3412(of)S 3523(the)S 3673(file,)S 3860(or)S 3971(the)S (group)234 4121 A 4382(ID)S 4516(of)S 4627(the)S 4777(file)S 4939(is)S 5033(in)S 5138(the)S 1488 V 1330(process's)S (group)234 1730 A (access)258 1989 A 2272(list,)S 2445(and)S 2615(the)S (group)234 2763 A 3022(permissions)S 3527(allow)S 3776(the)S (access.)283 3924 A 1656 V 1330(Neither)S 1666(the)S 1822(effective)S 2209(user)S 2410(ID)S 2550(nor)S 2717(effective)S (group)234 3104 A 3371(ID)S 3511(and)S (group)234 3689 A (access)258 3956 A 4247(list)S 4404(of)S 4522(the)S 4679(process)S 5015(match)S 1776 V 1330(the)S (corresponding)575 1484 A 2090(user)S 2288(ID)S 2425(and)S (group)234 2600 A 2864(ID)S 3001(of)S 3115(the)S 3268(file,)S 3458(but)S 3616(the)S 3769(permissions)S 4279(for)S 4427(``other)S 4732(users'')S 5037(allow)S 1896 V (access.)283 1330 A 2064 V 1330(Otherwise,)S 1795(permission)S 2261(is)S 2353(denied.)S 2232 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 2352 V 10 B 1080(intro)S 10 R 1293(\(3\),)S 10 B (strerror)348 1461 A 10 R 1809(\(3\).)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2669(\()S 2711(June)S 2920(30,)S (1986)200 3070 A 3278(\))S 4990(Page)S 5211(6)S 8143 V EP %%Trailer %%DocumentFonts: Times-Roman Times-Bold Times-Italic %%Pages: 6