lfc_opendir man page
LFC_OPENDIR(3) LFC Library Functions LFC_OPENDIR(3)
lfc_opendir - open a LFC directory in the name server
[1mlfc_DIR *lfc_opendir (const char *[4m[22mpath[24m[1m)[0m
[1mlfc_opendir [22mopens a LFC directory in the name server to be used in sub-
sequent [1mlfc_readdir [22moperations. A [1mlfc_DIR [22mstructure and a buffer to
cache the directory entries are allocated in the client API.
[4mpath[24m specifies the logical pathname relative to the current LFC
directory or the full LFC pathname.
This routine returns a pointer to be used in the subsequent directory
function calls if the operation was successful or NULL 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 read permission is denied on [4mpath[24m.
[1mEFAULT [4m[22mpath[24m is a NULL pointer.
[1mENOTDIR [22mA component of [4mpath[24m prefix is not a 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.
[1mENSNACT [22mName server is not running or is being shutdown.
[1mCastor_limits(4)[22m, [1mlfc_chdir(3)[22m, [1mlfc_closedir(3)[22m, [1mlfc_read-[0m
[1mdir(3), lfc_readdirg(3)[22m, [1mlfc_rewinddir(3)[0m
[1mLCG Grid Deployment [22mTeam
LFC $Date: 2001/10/04 12:12:46 $ LFC_OPENDIR(3)