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