clearerr(3)clearerr(3)NAMEclearerr - Clear indicators on a stream
SYNOPSIS
#include <stdio.h>
void clearerr(
FILE *stream );
LIBRARY
Standard C Library (libc)
STANDARDS
Interfaces documented on this reference page conform to industry stan‐
dards as follows:
clearerr(): XSH5.0
Refer to the standards(5) reference page for more information about
industry standards and associated tags.
PARAMETERS
Specifies the input or output stream to be cleared.
DESCRIPTION
The clearerr() function resets the error indicator and the EOF indica‐
tor for the stream specified by the stream parameter.
NOTES
[Tru64 UNIX] The clearerr() function is supported for multithreaded
applications.
RETURN VALUES
The clearerr() function returns no value.
SEE ALSO
Functions: open(2), fopen(3), feof(3), fileno(3), ferror(3)
Standards: standards(5)clearerr(3)