shithub: scc

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