CLEARERR - clear error and end-of-file flag.

(ANSI Standard)

Usage:

#include <stdio.h>
clearerr( f );

Where:

FILE *f;
points to the file whose flags are to be cleared.

Description:

"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.

Notes:

Although "clearerr" lets you clear the error flag, in many situations this will not be enough to allow continued processing of the file.

See Also:

expl c lib ferror

expl c lib feof

Copyright © 1996, Thinkage Ltd.