1RFIO_MKDIR(3)                    Rfio      Library      Functions
2RFIO_MKDIR(3)
3
4
5
6[1mNAME[0m
7       rfio_mkdir ‐ create a new directory
8
9[1mSYNOPSIS[0m
10       [1m#include <sys/types.h>[0m
11       [1m#include "rfio_api.h"[0m
12
13       [1mint rfio_mkdir (const char *[4m[22mpath[24m[1m,  mode_t
14[4m[22mmode[24m[1m);[0m
15
16[1mDESCRIPTION[0m
17       [1mrfio_mkdir [22mcreates a new directory.
18
19       An   entry  is created and the directory’s owner ID is set
20to the effec‐
21       tive user ID of the requestor.  The group ID of the direc‐
22tory is set to
23       the effective group ID of the requestor.
24
25       [4mpath[24m    specifies  the logical pathname relative to
26the current directory
27              or the full pathname.
28
29[1mRETURN VALUE[0m
30       This routine returns 0 if the operation was successful  or
31‐1  if  the
32       operation failed. In the latter case, [1mserrno [22mis set
33appropriately.
34
35[1mERRORS[0m
36       [1mENOENT       [22mA  component  of  [4mpath[24m   prefix
37does not exist or [4mpath[24m is a
38                    null pathname.
39
40       [1mEACCES       [22mSearch permission is denied on a  com‐
41ponent  of  the  [4mpath[0m
42                    prefix  or  write  permission  on  the parent
43directory is
44                    denied.
45
46       [1mEFAULT       [4m[22mpath[24m is a NULL pointer.
47
48       [1mEEXIST       [4m[22mpath[24m exists already.
49
50       [1mENOTDIR       [22mA  component of [4mpath[24m prefix is
51not a directory.
52
53       [1mENOSPC       [22mNo space to store the new directory.
54
55       [1mENAMETOOLONG  [22mThe  length  of  [4mpath[24m  exceeds
56[1mCA_MAXPATHLEN [22mor the length  of
57                    a  [4mpath[24m  component  exceeds [1mCA_MAX‐
58NAMELEN[22m.
59
60       [1mSENOSHOST    [22mHost unknown.
61
62       [1mSENOSSERV    [22mService unknown.
63
64       [1mSECOMERR     [22mCommunication error.
65
66[1mSEE ALSO[0m
67       [1mCastor_limits(4)[22m, [1mrfio_chmod(3)[0m
68
69[1mAUTHOR[0m
70       [1mLCG Grid Deployment [22mTeam
71
72
73
74LCG                         $Date:    2005/03/31    13:13:03    $
75RFIO_MKDIR(3)
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Impressum