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