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