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