shithub: scc

ref: 50d3a85c81eabcd5dcc9cb7f6da8380b07acf65a
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++;
}