shithub: scc

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