1RFIO_FERROR(3) Rfio Library Functions
2RFIO_FERROR(3)
3
4
5
6[1mNAME[0m
7 rfio_ferror, rfio_eof ‐ checks file status
8
9[1mSYNOPSIS[0m
10 [1m#include <sys/types.h>[0m
11 [1m#include "rfio_api.h"[0m
12
13 [1mint rfio_ferror (FILE *[4m[22mfp[24m[1m);[0m
14 [1mint rfio_feof (FILE *[4m[22mfp[24m[1m);[0m
15
16[1mDESCRIPTION[0m
17 [1mrfio_ferror [22mtests the error indicator for the file
18whose descriptor [1mfp[0m
19 is the one returned by [1mrfio_fopen.[0m
20
21 [1mrfio_feof [22mtests the end‐of‐file indicator for the
22file whose descriptor
23 [1mfp [22mis the one returned by [1mrfio_fopen.[0m
24
25[1mRETURN VALUE[0m
26 This routine returns >0 if set, 0 if not set, ‐1 if
27the operation
28 failed and [1mserrno [22mis set appropriately.
29
30[1mERRORS[0m
31 [1mEBADF [4m[22mfp[24m is not a valid file descrip‐
32tor.
33
34 [1mSEBADVERSION [22mVersion ID mismatch.
35
36[1mSEE ALSO[0m
37 [1mrfio_fopen(3)[0m
38
39[1mAUTHOR[0m
40 [1mLCG Grid Deployment [22mTeam
41
42
43
44LCG $Date: 2005/03/31 13:13:02 $
45RFIO_FERROR(3)
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66