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