-

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

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(Created page with "<strong>CLRERR, CLREOF</strong> ==SYNOPSIS== #include <stdio.h> void clrerr(FILE * stream) void clreof(FILE * stream) ==DESCRIPTION== These are macros, defined in stdio...")
 
(No difference)

Latest revision as of 18:37, 31 July 2017

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