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