clearerr

Full prototype:

void clearerr(FILE*);  

Purpose and Notes:

A function used to remove/reset end-of-file (EOF) and error's associated with the file stream passed in as the first and only argument.

Returns:

void- Nothing

Argument 1:

FILE*- A pointer to a file stream that you want to have its error's and EOF indicators removed/reset.

Example 1
  1    FILLER SOURCE CODE
FILLER TERMINAL