shithub: scc

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