shithub: scc

ref: 8b6a2d7d21c67db8b1fbc4eaabf3496bcc07941d
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++;
}