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