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

NAME

6       rfio_ferror, rfio_eof - checks file status
7

SYNOPSIS

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

DESCRIPTION

16       rfio_ferror  tests the error indicator for the file whose descriptor fp
17       is the one returned by rfio_fopen.
18
19       rfio_feof tests the end-of-file indicator for the file whose descriptor
20       fp is the one returned by rfio_fopen.
21

RETURN VALUE

23       This  routine  returns  >0  if  set,  0 if not set, -1 if the operation
24       failed and serrno is set appropriately.
25

ERRORS

27       EBADF        fp is not a valid file descriptor.
28
29       SEBADVERSION Version ID mismatch.
30

SEE ALSO

32       rfio_fopen(3)
33

AUTHOR

35       LCG Grid Deployment Team
36
37
38
39LCG                      $Date: 2005/03/31 13:13:02 $           RFIO_FERROR(3)
Impressum