clearerr

Clears the error condition of a stream.

void clearerr (FILE * stream);

Required Header
<stdio.h>

Return Value

None.

Parameters

stream

  A pointer to FILE

Remarks

The clearerr function resets the End Of File and error condition of stream.

Stream I/O Routines

See Also    _eof, feof, ferror, fseek, fsetpos, perror, rewind