📄 mkdir.2
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 13:05:46 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(MKDIR)S1064(\()S1106(2)S1164(\))S2696(Eighth)S(Edition)296 2989 A4783(MKDIR)S5127(\()S5169(2)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(mkdir)S10 R-11345(-)S10 R1427(make)S1670(a)S1740(directory)S2129(\256le)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(<sys/stat.h>)S1728 V1080(int)S1236(mkdir\(const)S1801(char)S2035(*)S10 I2085(path)S10 B2263(,)S2326(mode_t)S10 I2683(mode)S10 B2901(\))S1896 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)S2016 V10 B1080(Mkdir)S10 R1386(creates)S1693(a)S1764(new)S1958(directory)S2348(\256le)S2503(with)S2709(name)S10 I2954(path)S10 R3140(.)S3217(The)S3401(mode)S3651(of)S3762(the)S3912(new)S4107(\256le)S4263(is)S(initialized)403 4357 A4787(from)S10 I5010(mode)S10 R5236(.)S2136 V1080(\(The)S1296(protection)S1729(part)S1911(of)S2020(the)S2168(mode)S2416(is)S2508(modi\256ed)S2890(by)S3015(the)S3163(process's)S3563(mode)S3811(mask;)S4076(see)S10 B4230(umask)S10 R4515(\(2\)\).)S2304 V1080(The)S1270(directory's)S1740(owner)S2025(ID)S2165(is)S2265(set)S2410(to)S2521(the)S2677(process's)S3085(effective)S3472(user)S3674(ID.)S3865(The)S4056(directory's)S(group)234 4527 A4795(ID)S4936(is)S5037(set)S5183(to)S2424 V1080(that)S1256(of)S1365(the)S1513(parent)S1790(directory)S2179(in)S2282(which)S2553(it)S2634(is)S2726(created.)S2592 V1080(The)S1266(low-order)S1694(9)S1774(bits)S1949(of)S2063(mode)S2316(are)S2470(modi\256ed)S2857(by)S2987(the)S3140(process's)S3545(\256le)S3704(mode)S3957(creation)S4312(mask:)S4582(all)S4713(bits)S4888(set)S5030(in)S5138(the)S2712 V1080(process's)S1480(\256le)S1634(mode)S1882(creation)S2232(mask)S2469(are)S2618(cleared.)S2985(See)S10 B3156(umask)S10 R3441(\(2\).)S2880 V9 R720(R)S722(RE)S784(ET)S842(TU)S900(UR)S968(RN)S1030(N)S1121(V)S1123(VA)S1191(AL)S1259(LU)S1317(UE)S1385(E)S3000 V10 R1080(A)S1182(0)S1261(return)S1531(value)S1778(indicates)S(success.)327 2165 A2546(A)S10 R-12648(-)S10 R2705(1)S2784(return)S3054(value)S3301(indicates)S3688(an)S3812(error,)S4063(and)S4238(an)S4363(error)S4590(code)S4810(is)S4907(stored)S5183(in)S3120 V10 B(errno.)266 1080 A3288 V9 R720(E)S722(ER)S780(RR)S842(RO)S904(OR)S972(RS)S1034(S)S3408 V10 B1080(Mkdir)S10 R(will)157 1385 A1567(fail)S1727(and)S1897(no)S2022(directory)S(will)157 2411 A2593(be)S2713(created)S3030(if:)S3576 V1080([ENOTDIR])S1830(A)S(component)446 1928 A2399(of)S2508(the)S2656(path)S2854(pre\256x)S3114(is)S3206(not)S3359(a)S3429(directory.)S3744 V([ENAMETOOLONG])916 1080 A3864 V1830(The)S2012(path)S2210(name)S(exceeds)319 2453 A2797(PATH_MAX)S3371(characters.)S4032 V1080([ENOENT])S1830(A)S(component)446 1928 A2399(of)S2508(the)S2656(path)S2854(pre\256x)S3114(does)S3323(not)S3476(exist.)S4200 V1080([EACCES])S1830(Search)S2130(permission)S2596(is)S2688(denied)S2981(for)S3124(a)S(component)446 3194 A3665(of)S3774(the)S3922(path)S4120(pre\256x.)S4368 V1080([ELOOP])S1830(Too)S2033(many)S2297(symbolic)S2706(links)S2942(were)S(encountered)492 3180 A3713(in)S3833(translating)S4300(the)S4465(pathname.)S4948(\(Minix-)S4488 V1830(vmd\))S4656 V1080([EROFS])S1830(The)S2012(named)S2305(\256le)S2459(resides)S2764(on)S2889(a)S2959(read-only)S3370(\256le)S3524(system.)S4824 V1080([EEXIST])S1830(The)S2012(named)S2305(\256le)S2459(exists.)S4992 V1080([ENOSPC])S1830(The)S2027(directory)S2431(in)S2549(which)S2835(the)S2998(entry)S3245(for)S3403(the)S3567(new)S3776(directory)S4181(is)S4289(being)S(placed)263 4553 A(cannot)268 4857 A5166(be)S5112 V1830(extended)S(because)319 2218 A2562(there)S2789(is)S2881(no)S(space)224 3006 A3255(left)S3415(on)S3540(the)S3688(\256le)S3842(system)S4146(containing)S4595(the)S4743(directory.)S5280 V1080([ENOSPC])S1830(The)S2019(new)S2219(directory)S(cannot)268 2615 A2915(be)S3042(created)S(because)319 3366 A3717(there)S3951(there)S4185(is)S4285(no)S(space)224 4418 A4675(left)S4843(on)S4976(the)S5132(\256le)S5400 V1830(system)S2134(that)S(will)157 2310 A2492(contain)S2813(the)S2961(directory.)S5568 V1080([ENOSPC])S1830(There)S2091(are)S2240(no)S2365(free)S(inodes)262 2548 A2835(on)S2960(the)S3108(\256le)S3262(system)S3566(on)S3691(which)S3962(the)S4110(directory)S4499(is)S4591(being)S4839(created.)S5736 V1080([EIO])S1830(An)S1978(I/O)S2138(error)S2360(occurred)S2738(while)S2987(making)S3313(the)S3461(directory)S3850(entry)S4082(or)S4191(allocating)S4613(the)S(inode.)248 4761 A5904 V1080([EIO])S1830(An)S1978(I/O)S2138(error)S2360(occurred)S2738(while)S2987(reading)S3314(from)S3535(or)S(writing)291 3644 A3960(to)S4063(the)S4211(\256le)S4365(system.)S6072 V1080([EFAULT])S10 I1830(Path)S10 R2045(points)S2315(outside)S2630(the)S2778(process's)S3178(allocated)S3567(address)S(space.)249 3894 A6240 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S6360 V10 B1080(chmod)S10 R1371(\(2\),)S10 B1539(stat)S10 R1696(\(2\),)S10 B1864(umask)S10 R2149(\(2\).)S7903 V720(Page)S941(1)S2616(\()S(August)290 2658 A2973(26,)S(1985)200 3123 A3331(\))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 + -