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