📄 director.3
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 13:06:38 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 defsystemdict /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 addcurrentpoint pop Xm}bind def/H{//res div0 transform X round X itransform popcurrentpoint X popmoveto}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 fillgr}bind def1 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} ifend/BP{save mark devps begin m0/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecapcurrentlinejoin currentdash currentgray currentmiterlimit ] cvx def}bind def/EP{end cleartomark restore showpage}def/Encoding-1 256 array def0 1 255 {Encoding-1 exch /.notdef put} forEncoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-BEncoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-bEncoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accentsEncoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessiEncoding-1dup 8#41 /copyright putdup 8#42 /registered putdup 8#43 /trademark putdup 8#44 /logicalnot putdup 8#45 /Eth putdup 8#46 /eth putdup 8#47 /Thorn putdup 8#50 /thorn putdup 8#51 /brokenbar putdup 8#52 /degree putdup 8#53 /divide putdup 8#54 /multiply putdup 8#55 /minus putdup 8#56 /onehalf putdup 8#57 /onequarter putdup 8#60 /threequarters putdup 8#101 /Aacute putdup 8#102 /Acircumflex putdup 8#103 /Adieresis putdup 8#104 /Agrave putdup 8#105 /Aring putdup 8#106 /Atilde putdup 8#107 /Ccedilla putdup 8#110 /Eacute putdup 8#111 /Ecircumflex putdup 8#112 /Edieresis putdup 8#113 /Egrave putdup 8#114 /Iacute putdup 8#115 /Icircumflex putdup 8#116 /Idieresis putdup 8#117 /Igrave putdup 8#120 /Ntilde putdup 8#121 /Oacute putdup 8#122 /Ocircumflex putdup 8#123 /Odieresis putdup 8#124 /Ograve putdup 8#125 /Otilde putdup 8#126 /Scaron putdup 8#127 /Uacute putdup 8#130 /Ucircumflex putdup 8#131 /Udieresis putdup 8#132 /Ugrave putdup 8#133 /Ydieresis putdup 8#134 /Zcaron putdup 8#135 /aacute putdup 8#136 /acircumflex putdup 8#137 /adieresis putdup 8#140 /agrave putdup 8#141 /aring putdup 8#142 /atilde putdup 8#143 /ccedilla putdup 8#144 /eacute putdup 8#145 /ecircumflex putdup 8#146 /edieresis putdup 8#147 /egrave putdup 8#150 /iacute putdup 8#151 /icircumflex putdup 8#152 /idieresis putdup 8#153 /igrave putdup 8#154 /ntilde putdup 8#155 /oacute putdup 8#156 /ocircumflex putdup 8#157 /odieresis putdup 8#160 /ograve putdup 8#161 /otilde putdup 8#162 /scaron putdup 8#163 /uacute putdup 8#164 /ucircumflex putdup 8#165 /udieresis putdup 8#166 /ugrave putdup 8#167 /ydieresis putdup 8#170 /zcaron putpop/Enc-dict 30 dict defEnc-dict /tmpstr1 50 string putEnc-dict /tmpstr2 50 string putEnc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put/AEnc-def { % arguments: the original font's name, encoding nrEnc-dict begintmpstr2 cvs /Enc-no exch def % Remember the number in a stringdup /OrigName exch def % remember the namefindfont 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} forallnewdict begin/Encoding tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval cvn load def % Replace encodingcurrentdict /UniqueID known{ /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueIDend % newdict/FNlength OrigName tmpstr1 cvs length def % convert name, remember lengthFNlength 1 add Enc-no length add stringdup 0 OrigName tmpstr1 cvs putintervaldup FNlength (-) putintervaldup FNlength 1 add Enc-no putintervaldup 0 tmpstr1 0 FNlength getinterval putinterval % Add old namecvn dup newdict /FontName 3 2 roll put newdict definefontend % 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 1BP/slant 0 def/height 0 def480 V10 R720(DIRECTORY)S1306(\()S1348(3)S1406(\))S2696(Eighth)S(Edition)296 2989 A4541(DIRECTORY)S5127(\()S5169(3)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(directory,)S1494(opendir,)S1851(readdir,)S(rewinddir,)417 2187 A2629(closedir,)S2998(telldir,)S3289(seekdir)S10 R-13605(-)S10 R3687(directory)S4076(routines)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(#include)S1482(<sys/types.h>)S1488 V1080(#include)S1482(<dirent.h>)S1728 V1080(DIR)S1303(*opendir\(const)S1985(char)S2219(*)S10 I2269(dirname)S10 B2604(\))S1848 V1080(struct)S1371(dirent)S1673(*readdir\(DIR)S2305(*)S10 I2355(dirp)S10 B2522(\))S1968 V1080(void)S(rewinddir\(DIR)651 1302 A1991(*)S10 I2041(dirp)S10 B2208(\))S2088 V1080(int)S1236(closedir\(DIR)S1829(*)S10 I1879(dirp)S10 B2046(\))S2328 V1080(#de\256ne)S1426(_MINIX)S1871(1)S2448 V1080(#include)S1482(<sys/types.h>)S2568 V1080(#include)S1482(<dirent.h>)S2808 V1080(long)S1302(telldir\(DIR)S1823(*)S10 I1873(dirp)S10 B2040(\))S2928 V1080(int)S1236(seekdir\(DIR)S1807(*)S10 I1857(dirp)S10 B2024(,)S2087(long)S10 I2309(pos)S10 B2448(\))S3096 V9 R720(D)S722(DE)S790(ES)S848(SC)S900(CR)S962(RI)S1024(IP)S1057(PT)S1109(TI)S1167(IO)S1200(ON)S1268(N)S3216 V10 R1080(These)S1346(routines)S1695(form)S1916(a)S1986(system)S2290(independent)S(interface)354 2806 A3185(to)S(access)258 3288 A3571(directories.)S3384 V10 B1080(Opendir\(\))S10 R1537(opens)S1796(the)S1944(directory)S10 I2333(dirname)S10 R2693(and)S2863(returns)S3168(a)S3238(pointer)S3548(to)S3651(this)S3821(open)S4041(directory)S4430(stream.)S3552 V10 B1080(Readdir\(\))S10 R1529(reads)S1770(one)S1943(entry)S2178(from)S2402(the)S2553(directory)S2945(as)S3057(a)S3131(pointer)S3445(to)S3552(a)S3626(structure)S4008(containing)S4461(the)S4613(\256eld)S10 B4821(d_name)S10 R5162(,)S5216(a)S3672 V1080(character)S1476(array)S1709(containing)S2158(the)S2306(null-terminated)S2952(name)S3195(of)S3304(the)S3452(entry.)S3840 V10 B(Rewinddir\(\))528 1080 A10 R1633(allows)S1921(the)S2069(directory)S2458(to)S2561(be)S2681(read)S2880(again)S3123(from)S3344(the)S3492(beginning.)S4008 V10 B1080(Closedir\(\))S10 R1537(closes)S1808(the)S1956(directory)S2345(and)S2515(releases)S2860(administrative)S3461(data.)S4176 V1080(The)S1268(Minix)S1544(speci\256c)S1883(functions)S10 B2288(telldir\(\))S10 R2651(and)S10 B2827(seekdir\(\))S10 R3240(allow)S3495(one)S3671(to)S3780(get)S3934(the)S4088(current)S(position)323 4405 A4760(in)S4870(the)S5025(direc-)S4296 V1080(tory)S1271(\256le)S1429(and)S1603(to)S1710(return)S1980(there)S2210(later.)S10 B2468(Seekdir\(\))S10 R2895(may)S3096(only)S3302(be)S3425(called)S3694(with)S3901(a)S(position)323 3974 A4325(returned)S4689(by)S10 B4817(telldir\(\))S10 R5177(or)S4416 V1080(0)S1155(\(rewind\).)S1578(These)S1844(functions)S(should)267 2243 A2535(not)S2688(be)S2808(used)S3017(in)S3120(portable)S3475(programs.)S4584 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S4704 V10 B1080(dir)S10 R1209(\(5\).)S4872 V9 R720(D)S722(DI)S790(IA)S823(AG)S891(GN)S959(NO)S1027(OS)S1095(ST)S1147(TI)S1205(IC)S1238(CS)S1300(S)S4992 V10 B1080(Opendir\(\))S10 R1541(returns)S1850(a)S1925(null)S2111(pointer)S2426(if)S10 I2518(dirname)S10 R2883(can't)S3115(be)S3240(opened,)S3585(or)S3699(if)S3791(it)S3877(can't)S4109(allocate)S(enough)295 4453 A4778(memory)S5143(for)S5112 V1080(the)S10 B1228(DIR)S10 R1438(structure.)S5280 V10 B1080(Readdir\(\))S10 R1526(returns)S1831(null)S2012(if)S2099(there)S2326(are)S2475(no)S2600(more)S2832(directory)S3221(entries)S3515(or)S3624(on)S3749(error.)S5448 V10 B1080(Closedir\(\))S10 R1537(and)S10 B1707(seekdir\(\))S10 R2114(returns)S2419(0)S2494(on)S(success,)327 2619 A2971(-1)S3080(on)S3205(error.)S5616 V10 B1080(Telldir\(\))S10 R1470(returns)S1775(-1)S1884(on)S2009(error.)S5784 V1080(All)S1238(of)S1351(them)S1581(set)S10 B(errno)241 1722 A10 R1992(appropriately.)S10 B2608(Readdir\(\))S10 R(will)157 3058 A3244(only)S3451(set)S10 B(errno)241 3592 A10 R3862(on)S3991(error,)S4242(not)S4399(on)S4528(end-of-dir,)S4992(so)S(you)150 5111 A5904 V(should)267 1080 A1372(set)S10 B(errno)241 1509 A10 R1775(to)S1878(zero)S2077(beforehand,)S2580(and)S2750(check)S3010(its)S3130(value)S3373(if)S10 B3460(readdir\(\))S10 R3878(returns)S4183(null.)S6072 V9 R720(N)S722(NO)S790(OT)S858(TE)S916(ES)S974(S)S6192 V10 R1080(The)S1263(return)S1530(value)S1774(of)S10 B1884(readdir\(\))S10 R2303(needs)S2558(to)S2662(be)S2783(copied)S3078(before)S3363(the)S3513(next)S3713(operation)S4120(on)S4247(the)S4397(same)S4631(directory)S5022(if)S5111(it)S5194(is)S6312 V1080(to)S1183(be)S1303(saved.)S6480 V9 R720(A)S722(AU)S790(UT)S858(TH)S916(HO)S984(OR)S1052(R)S6600 V10 R1080(Kees)S1307(J.)S1396(Bot)S1566(\(kjb@cs.vu.nl\))S7903 V720(Page)S941(1)S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Trailer%%DocumentFonts: Times-Roman Times-Bold Times-Italic%%Pages: 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -