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