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