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