shithub: scc

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