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