shithub: scc

ref: 0ca62af5f0df449dd940cbd5b7e5723f739df8a0
dir: /lib/c/getc.c/

View raw version
#include <stdio.h>
#undef getc

int
getc(FILE *fp)
{
	return (fp->rp >= fp->wp) ?  __getc(fp) : *fp->rp++;
}