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