443
edits
-
Changes
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..."
<strong>CLRERR, CLREOF</strong>
==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
==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