shithub: scc

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