INtime SDK Help
clearerr

Resets the error and end-of-file indicators for a stream.

#include <stdio.h>

void clearerr (FILE *stream);

Parameters

stream
Pointer to FILE structure.

Remarks

Once the error indicator for a specified stream is set, operations on that stream continue to return an error value. Invoke clearerr to reset the error indicator. You can also call fseek, fsetpos, or rewind to do the same thing.

Return Values

None.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/stdio.h stdio.h clib.lib

See Also

eof, feof, ferror, perror, fseek, fsetpos, rewind