shithub: scc

ref: 5750587d1344416e2a6d6ee1395e250558de97ac
dir: /src/libc/stdio/getc.c/

View raw version
#include <stdio.h>
#undef getc

int
getc(FILE *fp)
{
	return (fp->rp >= fp->wp) ?  __getc(fp) : *fp->rp++;
}