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