Namespaces
Variants
Views
Actions

clearerr

From cppreference.com
< c‎ | io
Revision as of 22:35, 31 May 2013 by P12bot (Talk | contribs)

 
 
File input/output


Functions
File access
Direct input/output
Unformatted input/output
(C95)(C95)
(C95)
(C95)(C95)
(C95)
(C95)
Formatted input
Formatted output
File positioning
Error handling
clearerr
Operations on files
 
Defined in header <stdio.h>
void clearerr( FILE *stream );

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

Contents

Parameters

stream - the file to reset the error flags for

Return value

(none)

Example

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