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

ferror()


Syntax:
#include <stdio.h>
int ferror( FILE *stream );


Description:
The ferror() function looks for errors with stream, returning zero if no errors have occured, and non-zero if there is an error. In case of an error, use |perror()| to determine which error has occured.
Related topics:

Related Topics:
clearerr(), feof(), 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