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