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