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