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