1RFIO_FCLOSE(3) Rfio Library Functions
2RFIO_FCLOSE(3)
3
4
5
6[1mNAME[0m
7 rfio_fclose ‐ closes a file
8
9[1mSYNOPSIS[0m
10 [1m#include <sys/types.h>[0m
11 [1m#include "rfio_api.h"[0m
12
13 [1mint rfio_fclose (FILE *[4m[22mfd[24m[1m);[0m
14
15[1mDESCRIPTION[0m
16 [1mrfio_fclose [22mcloses the file whose descriptor [1mfd
17[22mis the one returned by
18 [1mrfio_fopen.[0m
19
20[1mRETURN VALUE[0m
21 This routine returns 0 if successful, ‐1 if the operation
22failed and
23 [1mserrno [22mis set appropriately.
24
25[1mERRORS[0m
26 [1mEBADF [4m[22mfd[24m is not a valid file descrip‐
27tor.
28
29 [1mSENOSHOST [22mHost unknown.
30
31 [1mSENOSSERV [22mService unknown.
32
33 [1mSETIMEDOUT [22mTimed out.
34
35 [1mSEBADVERSION [22mVersion ID mismatch.
36
37 [1mSEINTERNAL [22mInternal error.
38
39 [1mSECONNDROP [22mConnection closed by remote end.
40
41 [1mSECOMERR [22mCommunication error.
42
43[1mSEE ALSO[0m
44 [1mrfio_fopen(3)[0m
45
46[1mAUTHOR[0m
47 [1mLCG Grid Deployment [22mTeam
48
49
50
51LCG $Date: 2005/03/31 13:13:02 $
52RFIO_FCLOSE(3)
53
54
55
56
57
58
59
60
61
62
63
64
65
66