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