clearerr
Clears the end-of-file and error indicators of a stream.
Syntax
#include <stdio.h>
void clearerr (FILE *stream);
Parameters
stream A pointer to an open stream.
Return Values
None.
Description
The clearerr function clears the end-of-file and error indicators to zero
for the file pointed to by stream.
See Also
fopen(), ANSI C 4.9.10.1, POSIX.1 8.1