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