In the C Programming Language, the clearerr function clears the error and end-of-file warning signs for the circulation pointed to through stream.
Syntax
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.
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 features that are noteworthy when dealing with the clearerr function:
feof feature ferror function rewind feature
Leave a Review