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