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