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