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