gfal_opendir(3) - Linux man page
Name
gfal_opendir - open a directorySynopsis
#include "gfal_api.h"DIR *gfal_opendir (const char *dirname);
Description
gfal_opendir opens a directory to be used in subsequent gfal_readdir operations.Return Value
This routine returns a pointer to a DIR structure to be used in the subsequent directory function calls if the operation was successful or NULL if the operation failed. In the latter case, errno is set appropriately.Errors
- ENOENT
- The named directory does not exist.
- EACCES
- Search permission is denied on a component of the dirname prefix or read permission on the directory itself is denied.
- EFAULT
- dirname is a NULL pointer.
- ENOTDIR
- A component of dirname prefix is not a directory.
- EINVAL
- dirname has an invalid syntax.
- ECOMM
- Communication error.
- EPROTONOSUPPORT
- Access method not supported.