shithub: scc

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