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