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