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