shithub: scc

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