shithub: scc

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