shithub: scc

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