shithub: scc

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