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