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