shithub: scc

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