(ANSI Standard)
#include <stdio.h> clearerr( f );
"clearerr" clears the error indication flag for the specified file. Unless the flag is cleared, it will continue to indicate an error until the file is closed. "clearerr" also clears the end-of-file flag for the stream.
Although "clearerr" lets you clear the error flag, in many situations this will not be enough to allow continued processing of the file.
Copyright © 1996, Thinkage Ltd.