shithub: scc

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