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