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