shithub: scc

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