2.2.30 int ferror

int ferror(FILE *__stream)

Test the error flag of stream. This flag can only be cleared by a call to clearerr().