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