shithub: scc

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