Resets the error and end-of-file indicators for a file (so that ferror and feof will not return a nonzero value). Format #include <stdio.h> void clearerr (FILE *file_ptr);