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