-
Functions HI-TECH C CLRERR
From HI-TECH C for CP/M Fan WIKI(EN)
CLRERR, CLREOF
SYNOPSIS
#include <stdio.h> void clrerr(FILE * stream) void clreof(FILE * stream)
DESCRIPTION
These are macros, defined in stdio.h, which reset the error and end of file flags respectively for the specified stream. They should be used with care; the major valid use is for clearing an EOF status on input from a terminal-like device, where it may be valid to continue to read after having seen an end-of-file indication.
SEE ALSO
fopen, fclose