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