DOKK / manpages / debian 10 / libdpm-dev / rfio_feof.3.en
RFIO_FERROR(3) Rfio Library Functions RFIO_FERROR(3)

rfio_ferror, rfio_eof - checks file status

#include <sys/types.h>
#include "rfio_api.h"

int rfio_ferror (FILE *fp);
int rfio_feof (FILE *fp);

rfio_ferror tests the error indicator for the file whose descriptor fp is the one returned by rfio_fopen.

rfio_feof tests the end-of-file indicator for the file whose descriptor fp is the one returned by rfio_fopen.

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

fp is not a valid file descriptor.
Version ID mismatch.

rfio_fopen(3)

LCG Grid Deployment Team

$Date: 2005/03/31 13:13:02 $ LCG