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