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