shithub: scc

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