clearerr() STDIO Macro clearerr() Present stream status #include <stdio.h> clearerr(fp) FILE *fp; clearerr resets the error flag of the argument fp. If an error condition is detected by the related macro ferror, clearerr can be called to clear it. ***** Example ***** For an example of this function, see the entry for ferror. ***** See Also ***** ferror(), STDIO COHERENT Lexicon Page 1