Tests the error indicator for a stream.
#include <stdio.h> int ferror ( FILE *fp);
(IN) Points to the file to be tested.
Returns nonzero if the error indicator is set for fp.