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