ferror [C++ Reference]
Keywords: c,io,ferror
Date: 2008-10-14T15:42:00-0700

[[ferror]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## ferror

Syntax:

        #include <cstdio>
        int ferror( FILE *stream );

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: clearerr, feof, perror

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •