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