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