-

Difference between revisions of "Functions HI-TECH C FEOF"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(Created page with "<strong>FEOF, FERROR</strong> ==SYNOPSIS== #include <stdio.h> feof(FILE * stream) ferror(FILE * stream) ==DESCRIPTION== These macros test the status of the EOF and ER...")
 
(No difference)

Latest revision as of 19:32, 31 July 2017

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