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