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