shithub: scc

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