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