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