gfal_closedir(3) - Linux man page

Name

gfal_closedir - close a directory

Synopsis

#include "gfal_api.h"

int gfal_closedir (DIR *dirp);

Description

gfal_closedir closes the directory opened by gfal_opendir and associated with the DIR structure pointed by dirp.

Return Value

This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, errno is set appropriately.

Errors

EBADF
File descriptor in DIR structure is invalid.
ECOMM
Communication error.
EPROTONOSUPPORT
Access method not supported.

See Also

gfal(3)