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