shithub: scc

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