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