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