Content-type: text/html
Manpage of GFAL_OPENDIR
GFAL_OPENDIR
Section: Library Functions (3)
Updated: 2003/11/19 12:56:29
Index
Return to Main Contents
NAME
gfal_opendir - open a directory
SYNOPSIS
#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.
SEE ALSO
gfal(3)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- ERRORS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 12:34:06 GMT, January 20, 2004