Poster of Linux kernelThe best gift for a Linux geek
RFIO_FERROR

RFIO_FERROR

Section: Rfio Library Functions (3) Updated: $Date: 2005/03/31 13:13:02 $
Local index Up
 

NAME

rfio_ferror, rfio_eof - checks file status  

SYNOPSIS

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

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

DESCRIPTION

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.
 

SEE ALSO

rfio_fopen(3)  

AUTHOR

LCG Grid Deployment Team


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:54:05 GMT, April 16, 2011