HP C/iX Library Reference Manual (30026-90004)

122 Chapter5
HP C/iX Library Function Descriptions
clearerr
clearerr
Clears the end-of-file and error indicators of a stream.
Syntax
#include <stdio.h>
void clearerr (FILE *
stream
);
Parameters
stream
A pointer to an open stream.
Return Values
None.
Description
The clearerr function clears the end-of-file and error indicators to zero for the file pointed
to by
stream
.
See Also
fopen(), ANSI C 4.9.10.1, POSIX.1 8.1