rfio_closedir(3)

rfio_closedir3

Close directory opened by rfio_opendir

Usage

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

int rfio_closedir (RDIR *dirp);

Overview

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.

Releases

Unchanged in 5 releases since Debian 6.0 (Squeeze).

  1. 6.0–10

Author

LCG Grid Deployment Team

From libdpm-dev 1.10.0-2+b3 in Debian 10 (Buster). Parsed by carta from the page's man source.