shithub: scc

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