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