shithub: scc

ref: 04f3da918d80958735fd99e1b807758b06ff7e7d
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++;
}