Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>ferror</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ferror
======

Syntax
------

     #include <stdio.h>
     
     int ferror(FILE *file);

Description
-----------

This function can be used to indicate if the given FILE has encountered
an error or not.  clearerr:.   

Return Value
------------

Nonzero for an error, zero otherwize.

Example
-------

     if (ferror(stdin))
       exit(1);


See Also: clearerr

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