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