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