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