shithub: scc

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