std::ferror
From cppreference.com
Defined in header <cstdio>
|
||
int ferror( FILE *stream ); |
||
Checks the given stream for errors.
Contents |
[edit] Parameters
stream | - | the file stream to check |
[edit] Return value
Nonzero value if the file stream has errors occurred, 0 otherwise
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
clears errors (function) | |
checks for the end-of-file (function) | |
displays a character string corresponding of the current error to stderr (function) | |
C documentation for ferror
|