clearerr---clear file or stream error indicator
#include <stdio.h> void clearerr(FILE *fp);
stdio functions maintain an error indicator with each file
pointer fp, to record whether any read or write errors have
occurred on the associated file or stream. Similarly, it maintains an
end-of-file indicator to record whether there is no more data in the
clearerr to reset both of these indicators.
feof to query the two indicators.
clearerr does not return a result.
ANSI C requires
No supporting OS subroutines are required.
Go to the first, previous, next, last section, table of contents.