rfio_closedir(3) - Linux man page
Name
rfio_closedir - close directory opened by rfio_opendirSynopsis
#include <sys/types.h>#include "rfio_api.h"
int rfio_closedir (RDIR *dirp);
Description
rfio_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 Value
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.Errors
- EBADF
- File descriptor in DIR structure is invalid.
- SENOSHOST
- Host unknown.
- SENOSSERV
- Service unknown.
- SETIMEDOUT
- Timed out.
- SEBADVERSION
- Version ID mismatch.
- SECOMERR
- Communication error.