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