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