Query: rfio_closedir
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RFIO_CLOSEDIR(3) Rfio Library Functions RFIO_CLOSEDIR(3)NAMErfio_closedir - close directory opened by rfio_opendirSYNOPSIS#include <sys/types.h> #include "rfio_api.h" int rfio_closedir (RDIR *dirp);DESCRIPTIONrfio_closedir closes the directory opened by rfio_opendir and associated with the RDIR structure pointed by dirp. dirp specifies the pointer value returned by rfio_opendir.RETURN VALUEThis routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.ERRORSEBADF File descriptor in DIR structure is invalid. SENOSHOST Host unknown. SENOSSERV Service unknown. SETIMEDOUT Timed out. SEBADVERSION Version ID mismatch. SECOMERR Communication error.SEE ALSOrfio_opendir(3), rfio_readdir(3), rfio_rewinddir(3)AUTHORLCG Grid Deployment TeamLCG$Date: 2005/03/31 13:13:02 $ RFIO_CLOSEDIR(3)