rfio_feof(3)

rfio_feof3

Checks file status

Part of rfio_ferror(3).

Usage

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

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

Overview

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.

Return value

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

Errors

EBADF

fp is not a valid file descriptor.

SEBADVERSION

Version ID mismatch.

Releases

Unchanged in 5 releases since Debian 6.0 (Squeeze).

  1. 6.0–10

Author

LCG Grid Deployment Team

From libdpm-dev 1.10.0-2+b3 in Debian 10 (Buster). Parsed by carta from the page's man source.