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