C Language: clearerr function
(Clear Stream Error)
In the C Programming Language, the clearerr function clears the error and end-of-file indicators for the stream pointed to by stream.
Syntax
The syntax for the clearerr function in the C Language is:
void clearerr(FILE *stream);
Parameters or Arguments
- stream
- The stream whose error and end-of-file indicators are to be cleared.
Returns
The clearerr function does not return anything.
Required Header
In the C Language, the required header for the clearerr function is:
#include <stdio.h>
Applies To
In the C Language, the clearerr function can be used in the following versions:
- ANSI/ISO 9899-1990
See Also
Other C functions that are noteworthy when dealing with the clearerr function:
Advertisements