shithub: scc

ref: 4b60622e5ebcec0579c17269c4f4257d3fff9c46
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++;
}