rfio_mkdir man page
RFIO_MKDIR(3) Rfio Library Functions RFIO_MKDIR(3)
rfio_mkdir - create a new directory
[1mint rfio_mkdir (const char *[4m[22mpath[24m[1m, mode_t [4m[22mmode[24m[1m);[0m
[1mrfio_mkdir [22mcreates a new directory.
An entry is created and the directory's owner ID is set to the effec-
tive user ID of the requestor. The group ID of the directory is set to
the effective group ID of the requestor.
[4mpath[24m specifies the logical pathname relative to the current directory
or the full pathname.
This routine returns 0 if the operation was successful or -1 if the
operation failed. In the latter case, [1mserrno [22mis set appropriately.
[1mENOENT [22mA component of [4mpath[24m prefix does not exist or [4mpath[24m is a
[1mEACCES [22mSearch permission is denied on a component of the [4mpath[0m
prefix or write permission on the parent directory is
[1mEFAULT [4m[22mpath[24m is a NULL pointer.
[1mEEXIST [4m[22mpath[24m exists already.
[1mENOTDIR [22mA component of [4mpath[24m prefix is not a directory.
[1mENOSPC [22mNo space to store the new directory.
[1mENAMETOOLONG [22mThe length of [4mpath[24m exceeds [1mCA_MAXPATHLEN [22mor the length of
a [4mpath[24m component exceeds [1mCA_MAXNAMELEN[22m.
[1mSENOSHOST [22mHost unknown.
[1mSENOSSERV [22mService unknown.
[1mSECOMERR [22mCommunication error.
[1mLCG Grid Deployment [22mTeam
LCG $Date: 2005/03/31 13:13:03 $ RFIO_MKDIR(3)