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