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