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