The Wayback Machine - https://web.archive.org/web/20160313144639/http://en.cppreference.com:80/w/cpp/io/c/clearerr
Namespaces
Variants
Views
Actions

std::clearerr

From cppreference.com
< cpp‎ | io‎ | c
 
 
 
 
Defined in header <cstdio>
void clearerr( std::FILE* stream );

Resets the error flags and the EOF indicator for the given file stream.

Contents

[edit] Parameters

stream - the file to reset the error flags for

[edit] Return value

(none)

[edit] Example

[edit] See also

checks for the end-of-file
(function) [edit]
displays a character string corresponding of the current error to stderr
(function) [edit]
checks for a file error
(function) [edit]
C documentation for clearerr
Morty Proxy This is a proxified and sanitized view of the page, visit original site.