Currently At: Programming Reference > C Reference > Stndard C I/O > clearerr()

clearerr()


Syntax:
#include <stdio.h>
void clearerr( FILE *stream );


Description:
The clearerr function resets the error flags and EOF indicator for the given stream. When an error occurs, you can use |perror()| to figure out which error actually occurred.

Related Topics:
feof(), ferror(), perror()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions