clearerr()
Syntax:
#include <stdio.h> void clearerr( FILE *stream );
Description:
The clearerr function resets the error flags and EOF indicator for the given stream. When an error occurs, you can use |perror()| to figure out which error actually occurred.
Related Topics:
feof(), ferror(), perror()



