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