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