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