C Programming/C Reference/stdio.h/clearerr
From Wikibooks, open books for an open world
< C Programming | C Reference | stdio.h
Template:Db-nonsense Syntax:
#include <cstdio> void clearerr( FILE *stream );
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.
This page may need to be