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