shithub: scc

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