DOKK / manpages / debian 10 / libdpm-dev / rfio_closedir.3.en
RFIO_CLOSEDIR(3) Rfio Library Functions RFIO_CLOSEDIR(3)

rfio_closedir - close directory opened by rfio_opendir

#include <sys/types.h>
#include "rfio_api.h"

int rfio_closedir (RDIR *dirp);

rfio_closedir closes the directory opened by rfio_opendir and associated with the RDIR structure pointed by dirp.

specifies the pointer value returned by rfio_opendir.

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

File descriptor in DIR structure is invalid.
Host unknown.
Service unknown.
Timed out.
Version ID mismatch.
Communication error.

rfio_opendir(3), rfio_readdir(3), rfio_rewinddir(3)

LCG Grid Deployment Team

$Date: 2005/03/31 13:13:02 $ LCG