Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Programming/Code/Standard C Library/Functions/clearerr

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

clearerr #include <cstdio> void clearerr( FILE *stream ); The clearerr function resets the error flags and EOF indicator for the given stream. If an error occurs, you can use perror() or strerror() to figure out which error actually occurred, or read the error from the global variable errno. Related topics feof - ferror - perror - strerror