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