shithub: scc

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