.TH clearerr() "" "" "STDIO Function (libc)"
.PC "Present stream status"
.B "#include <stdio.h>"
\fBclearerr(\fIfp\^\fB) FILE *\fIfp\^\fB;\fR
.PP
.B clearerr()
resets the error flag of the argument
.IR fp .
If an error condition is detected by the related macro
.BR ferror ,
.B clearerr()
can be called to clear it.
.SH Example
For an example of this function, see the entry for \fBferror()\fR.
.SH "See Also"
.Xr "ferror()," ferror
.Xr "libc" libc
.br
\*(AS, \(sc7.9.10.1
.br
\*(PX Standard, \(sc8.1
