1RFIO_CLOSEDIR(3) Rfio Library Functions
2RFIO_CLOSEDIR(3)
3
4
5
6[1mNAME[0m
7 rfio_closedir ‐ close directory opened by [1mr‐
8fio_opendir[0m
9
10[1mSYNOPSIS[0m
11 [1m#include <sys/types.h>[0m
12 [1m#include "rfio_api.h"[0m
13
14 [1mint rfio_closedir (RDIR *[4m[22mdirp[24m[1m);[0m
15
16[1mDESCRIPTION[0m
17 [1mrfio_closedir [22mcloses the directory opened by
18[1mrfio_opendir [22mand associ‐
19 ated with the [1mRDIR [22mstructure pointed by
20[4mdirp[24m.
21
22 [4mdirp[24m specifies the pointer value returned by
23[1mrfio_opendir[22m.
24
25[1mRETURN VALUE[0m
26 This routine returns 0 if the operation was successful or
27‐1 if the
28 operation failed. In the latter case, [1mserrno [22mis set
29appropriately.
30
31[1mERRORS[0m
32 [1mEBADF [22mFile descriptor in DIR structure is
33invalid.
34
35 [1mSENOSHOST [22mHost unknown.
36
37 [1mSENOSSERV [22mService unknown.
38
39 [1mSETIMEDOUT [22mTimed out.
40
41 [1mSEBADVERSION [22mVersion ID mismatch.
42
43 [1mSECOMERR [22mCommunication error.
44
45[1mSEE ALSO[0m
46 [1mrfio_opendir(3)[22m, [1mrfio_readdir(3)[22m, [1mr‐
47fio_rewinddir(3)[0m
48
49[1mAUTHOR[0m
50 [1mLCG Grid Deployment [22mTeam
51
52
53
54LCG $Date: 2005/03/31 13:13:02 $
55RFIO_CLOSEDIR(3)
56
57
58
59
60
61
62
63
64
65
66