COHERENT manpages

This page displays the COHERENT manpage for clearerr() [Present stream status].

List of available manpages
Index


clearerr() -- STDIO Function (libc)

Present stream status
#include <stdio.h>
clearerr(fp) FILE *fp;

clearerr() resets the error flag of  the argument fp. If an error condition
is detected by the related macro  ferror, clearerr() can be called to clear
it.

Example

For an example of this function, see the entry for ferror().

See Also

ferror(),
libc
ANSI Standard, §7.9.10.1
POSIX Standard, §8.1