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