2.2.30 int ferrorint ferror(FILE *__stream) Test the error flag of stream. This flag can only be cleared by a call to clearerr().