clearerr
Syntax
- void clearerr(int filepointer)
Arguments
- filepointer
- file pointer as returned by fopen and such.
Description
- Clears the end-of-file and error indicators for the given file. As long as the error indicator is set, all file operations will return an error until clearerr or rewind is called.
Also see
- ferror
Comments
- Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.