1RFIO_FFLUSH(3)              Rfio Library Functions              RFIO_FFLUSH(3)
2
3
4

NAME

6       rfio_fflush - flush a file
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "rfio_api.h"
11
12       int rfio_fflush (FILE *fp);
13

DESCRIPTION

15       rfio_fflush  forces  a  write  of  all buffered data for the file whose
16       descriptor fp is the one returned  by  rfio_fopen.   The  file  remains
17       open.
18

RETURN VALUE

20       This  routine  returns  0 if successful, -1 if the operation failed and
21       serrno is set appropriately.
22

ERRORS

24       EBADF        fp is not a valid file descriptor.
25
26       SEBADVERSION Version ID mismatch.
27

SEE ALSO

29       rfio_fopen(3)
30

AUTHOR

32       LCG Grid Deployment Team
33
34
35
36LCG                      $Date: 2005/03/31 13:13:02 $           RFIO_FFLUSH(3)
Impressum