shithub: scc

ref: 982b9ee2e2f44065a4e05fb2d485acc172b845f0
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++;
}