ref: 34c14097cb90fb2deccc3f2ab41b79ca3d7a33d2 dir: /src/libc/stdio/getc.c/
#include <stdio.h> #undef getc int getc(FILE *fp) { return (fp->rp >= fp->wp) ? __getc(fp) : *fp->rp++; }