shithub: scc

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