Function clearerr

Top 

Declaration:

void clearerr(unsigned long stream);

Description

Resets error indication.

clearerr resets the specified stream's error and end-of-file indicators to 0. Once the error indicator is set up, the stream operations continue to return the error status until a call is made to clearerr or rewind. The end-of-file indicator is reset with each input operation.