C Programming/stdio.h/clearerr
Appearance
< C Programming | stdio.h
This page or section is an undeveloped draft or outline. You can help to develop the work, or you can ask for assistance in the project room. |
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.