C++ Programming/Code/Standard C Library/Functions/clearerr

clearerr
The clearerr function resets the error flags and EOF indicator for the given stream. If an error occurs, you can use  or   to figure out which error actually occurred, or read the error from the global variable.


 * Related topics: feof - ferror - perror - strerror