ref: 18853825ec9395caec2bfd42e7fd95f4cd723402 dir: /src/libc/stdio/ferror.c/
#include <stdio.h> #undef ferror int ferror(FILE *fp) { return fp->flags & _IOERR; }