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