C++ Programming/Code/Standard C Library/Functions/ferror
< C++ Programming < Code < Standard C Library < Functionsferror
Syntax |
#include <cstdio>
int ferror( FILE *stream );
|
The ferror() function looks for errors with stream, returning zero if no errors have occurred, and non-zero if there is an error. In case of an error, use perror() to determine which error has occurred.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.