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