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