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