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