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