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