ref: 446dc0208959152bad0bb3ed1cb5f037d247d805 dir: /lib/c/feof.c/
#include <stdio.h> #undef feof int feof(FILE *fp) { return fp->flags & _IOEOF; }