-

Functions HI-TECH C CLRERR

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

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