shithub: scc

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