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