shithub: scc

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