%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 13:05:32 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(ACCESS)S 1109(\()S 1151(2)S 1209(\))S 2696(Eighth)S (Edition)296 2989 A 4738(ACCESS)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 (access)258 1080 A 10 R-1 1363(-)S 10 R 1445(determine)S (accessibility)498 1873 A 2396(of)S 2505(\256le)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 1488 V 1080(#include)S 1482()S 1656 V 1080(#de\256ne)S 1426(R_OK)S 1980(4)S 2232(/*)S 2348(test)S 2538(for)S 2705(read)S 2939(permission)S 3447(*/)S 1776 V 1080(#de\256ne)S 1426(W_OK)S 1980(2)S 2232(/*)S 2348(test)S 2538(for)S 2705(write)S 2968(permission)S 3476(*/)S 1896 V 1080(#de\256ne)S 1426(X_OK)S 1980(1)S 2232(/*)S 2348(test)S 2538(for)S 2705(execute)S 3063(\(search\))S 3449(permission)S 3957(*/)S 2016 V 1080(#de\256ne)S 1426(F_OK)S 1980(0)S 2232(/*)S 2348(test)S 2538(for)S 2705(presence)S 3119(of)S 3241(\256le)S 3408(*/)S 2184 V 1080(int)S (access\(const)521 1236 A 1795(char)S 2029(*)S 10 I 2079(path)S 10 B 2257(,)S 2320(mode_t)S 10 I 2677(mode)S 10 B 2895(\))S 2352 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 2472 V 10 B (Access)286 1080 A 10 R 1399(checks)S 1706(the)S 1862(given)S 2118(\256le)S 10 I 2280(path)S 10 R 2491(for)S (accessibility)498 2642 A (according)397 3173 A 3603(to)S 10 I 3714(mode)S 10 R 3940(,)S 3998(which)S 4277(is)S 4377(an)S 4505(inclusive)S 4902(or)S 5020(of)S 5138(the)S 2592 V 1080(bits)S 10 B 1254(R_OK)S 10 R 1533(,)S 10 B 1587(W_OK)S 10 R 1922(and)S 10 B 2096(X_OK)S 10 R 2375(.)S 2454(Specifying)S 10 I 2918(mode)S 10 R 3164(as)S 10 B 3276(F_OK)S 10 R 3572(\(i.e.,)S 3782(0\))S 3894(tests)S 4101(whether)S 4454(the)S 4605(directories)S 5059(lead-)S 2712 V 1080(ing)S 1233(to)S 1336(the)S 1484(\256le)S 1638(can)S 1803(be)S 1923(searched)S 2301(and)S 2471(the)S 2619(\256le)S 2773(exists.)S 2880 V 1080(The)S 1269(real)S 1453(user)S 1653(ID)S 1792(and)S 1969(the)S (group)234 2124 A (access)258 2391 A 2682(list)S 2838(\(including)S 3284(the)S 3440(real)S (group)234 3625 A 3892(ID\))S 4066(are)S 4223(used)S 4440(in)S 4551(verifying)S 4953(permis-)S 3000 V 1080(sion,)S 1297(so)S 1411(this)S 1581(call)S 1752(is)S 1844(useful)S 2115(to)S 2218(set-UID)S 2569(programs.)S 3168 V 1080(Notice)S 1382(that)S 1566(only)S (access)258 1778 A 2070(bits)S 2249(are)S 2407(checked.)S 2821(A)S 2928(directory)S 3326(may)S 3533(be)S 3662(indicated)S 4065(as)S 4183(writable)S 4548(by)S 10 B (access)263 4682 A 10 R 4945(,)S 5004(but)S 5166(an)S 3288 V 1080(attempt)S 1410(to)S 1516(open)S 1739(it)S 1823(for)S (writing)291 1969 A (will)157 2287 A 2471(fail)S (\(although)385 2633 A 3045(\256les)S 3240(may)S 3440(be)S 3562(created)S 3881(there\);)S 4172(a)S 4244(\256le)S 4400(may)S (look)178 4600 A 4805(executable,)S 3408 V 1080(but)S 10 B 1233(execve)S 10 R (will)157 1538 A 1720(fail)S 1880(unless)S 2156(it)S 2237(is)S 2329(in)S 2432(proper)S 2720(format.)S 3576 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 3696 V 10 R 1080(If)S 10 I 1177(path)S 10 R (cannot)268 1384 A 1681(be)S (found)234 1805 A 2068(or)S 2181(if)S 2272(any)S 2446(of)S 2559(the)S 2711(desired)S (access)258 3031 A 3318(modes)S 3610(would)S 3891(not)S 4049(be)S 4174(granted,)S 4531(then)S 4734(a)S 10 R-1 4809(-)S 10 R 4866(1)S 4946(value)S 5194(is)S 3816 V 1080(returned;)S 1469(otherwise)S 1886(a)S 1956(0)S 2031(value)S 2274(is)S 2366(returned.)S 3984 V 9 R 720(E)S 722(ER)S 780(RR)S 842(RO)S 904(OR)S 972(RS)S 1034(S)S 4104 V 10 R (Access)286 1080 A 1391(to)S 1494(the)S 1642(\256le)S 1796(is)S 1888(denied)S 2181(if)S 2268(one)S 2438(or)S 2547(more)S 2779(of)S 2888(the)S 3036(following)S 3452(are)S 3601(true:)S 4272 V 1080([ENOTDIR])S 1830(A)S (component)446 1928 A 2399(of)S 2508(the)S 2656(path)S 2854(pre\256x)S 3114(is)S 3206(not)S 3359(a)S 3429(directory.)S 4440 V ([ENAMETOOLONG])916 1080 A 4560 V 1830(The)S 2012(path)S 2210(name)S (exceeds)319 2453 A 2797(PATH_MAX)S 3371(characters.)S 4728 V 1080([ENOENT])S 1830(The)S 2012(named)S 2305(\256le)S 2459(does)S 2668(not)S 2821(exist.)S 4896 V 1080([EACCES])S 1830(Search)S 2130(permission)S 2596(is)S 2688(denied)S 2981(for)S 3124(a)S (component)446 3194 A 3665(of)S 3774(the)S 3922(path)S 4120(pre\256x.)S 5064 V 1080([ELOOP])S 1830(Too)S 2033(many)S 2297(symbolic)S 2706(links)S 2942(were)S (encountered)492 3180 A 3713(in)S 3833(translating)S 4300(the)S 4465(pathname.)S 4948(\(Minix-)S 5184 V 1830(vmd\))S 5352 V 1080([EROFS])S 1830(Write)S (access)258 2085 A 2368(is)S 2460(requested)S 2871(for)S 3014(a)S 3084(\256le)S 3238(on)S 3363(a)S 3433(read-only)S 3844(\256le)S 3998(system.)S 5520 V 1080([EACCES])S 1830(Permission)S 2312(bits)S 2492(of)S 2611(the)S 2769(\256le)S 2933(mode)S 3191(do)S 3326(not)S 3489(permit)S 3787(the)S 3945(requested)S (access,)283 4366 A 4684(or)S 4804(search)S 5098(per-)S 5640 V 1830(mission)S 2169(is)S 2263(denied)S 2558(on)S 2684(a)S (component)446 2755 A 3227(of)S 3337(the)S 3486(path)S 3685(pre\256x.)S 3996(The)S 4179(owner)S 4457(of)S 4567(a)S 4638(\256le)S 4793(has)S 4953(permis-)S 5760 V 1830(sion)S 2047(checked)S 2427(with)S 2656(respect)S 2992(to)S 3120(the)S (``owner'')388 3293 A 3731(read,)S 3980(write,)S 4263(and)S 4458(execute)S 4817(mode)S 5091(bits,)S 5880 V 1830(members)S 2243(of)S 2371(the)S 2538(\256le's)S (group)234 2784 A 3062(other)S 3313(than)S 3530(the)S 3697(owner)S 3992(have)S 4225(permission)S 4709(checked)S 5082(with)S 6000 V 1830(respect)S 2158(to)S 2278(the)S (``group'')370 2443 A 2855(mode)S 3120(bits,)S 3332(and)S 3520(all)S 3664(others)S 3953(have)S 4186(permissions)S 4709(checked)S 5082(with)S 6120 V 1830(respect)S 2141(to)S 2244(the)S (``other'')343 2392 A 2760(mode)S 3008(bits.)S 6288 V 1080([EFAULT])S 10 I 1830(Path)S 10 R 2045(points)S 2315(outside)S 2630(the)S 2778(process's)S 3178(allocated)S 3567(address)S (space.)249 3894 A 6456 V 1080([EIO])S 1830(An)S 1978(I/O)S 2138(error)S 2360(occurred)S 2738(while)S 2987(reading)S 3314(from)S 3535(or)S (writing)291 3644 A 3960(to)S 4063(the)S 4211(\256le)S 4365(system.)S 6624 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 6744 V 10 B 1080(chmod)S 10 R 1371(\(2\),)S 10 B 1539(stat)S 10 R 1696(\(2\).)S 7903 V 720(Page)S 941(1)S 2669(\()S 2711(May)S 2920(22,)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