Functions HI-TECH C FEOF

FEOF, FERROR

SYNOPSIS

#include  <stdio.h>

feof(FILE * stream)
ferror(FILE * stream)


DESCRIPTION

These macros test the status of the EOF and ERROR bits respectively for the specified stream. Each will be true if the corresponding flag is set. The macros are defined in stdio.h. Stream must be a token returned by a previous fopen() call.

SEE ALSO

fopen, fclose