shithub: scc

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