shithub: scc

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