-

Functions HI-TECH C FEOF

From HI-TECH C for CP/M Fan WIKI(EN)
Revision as of 19:32, 31 July 2017 by Kumokosi (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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