rfio_closedir man page

RFIO_CLOSEDIR(3)            Rfio Library Functions            RFIO_CLOSEDIR(3)

[1mNAME[0m
      rfio_closedir - close directory opened by [1mrfio_opendir[0m

[1mSYNOPSIS[0m
      [1m#include <sys/types.h>[0m
      [1m#include "rfio_api.h"[0m

      [1mint rfio_closedir (RDIR *[4m[22mdirp[24m[1m);[0m

[1mDESCRIPTION[0m
      [1mrfio_closedir  [22mcloses  the directory opened by [1mrfio_opendir [22mand associ-
      ated with the [1mRDIR [22mstructure pointed by [4mdirp[24m.

      [4mdirp[24m   specifies the pointer value returned by [1mrfio_opendir[22m.

[1mRETURN VALUE[0m
      This routine returns 0 if the operation was successful  or  -1  if  the
      operation failed. In the latter case, [1mserrno [22mis set appropriately.

[1mERRORS[0m
      [1mEBADF        [22mFile descriptor in DIR structure is invalid.

      [1mSENOSHOST    [22mHost unknown.

      [1mSENOSSERV    [22mService unknown.

      [1mSETIMEDOUT   [22mTimed out.

      [1mSEBADVERSION [22mVersion ID mismatch.

      [1mSECOMERR     [22mCommunication error.

[1mSEE ALSO[0m
      [1mrfio_opendir(3)[22m, [1mrfio_readdir(3)[22m, [1mrfio_rewinddir(3)[0m

[1mAUTHOR[0m
      [1mLCG Grid Deployment [22mTeam

LCG                      $Date: 2005/03/31 13:13:02 $         RFIO_CLOSEDIR(3)