Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>fclearerr</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  FCLEARERR

  .  Summary

  fclearerr(int <fh>);

  .  Description

  The fclearerr function clears the error flag assigned to the open
  file represented by file handle <fh>. It also clears the End Of File
  flag for that file as well.

  .  Return Value

  None.

  .  Example

  int f;
  f = fopen("test.dat", "r");
     ...
  if (ferror(f))
   fclearerr(f);

See Also: ferror feof

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson