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