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