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