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