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