In the C Programming Language, the clearerr function clears the error and end-of-file warning signs for the circulation pointed to through stream.
The syntax for the clearerr function in the C Language is:
void clearerr(FILE *stream);
Parameters or Arguments
stream The move whose error and end-of-file symptoms are to be cleared.
The clearerr function does not return anything.
In the C Language, the required header for the clearerr function is:
In the C Language, the clearerr function can be used in the following versions:
Other C features that are noteworthy when dealing with the clearerr function:
feof feature ferror function rewind feature