shithub: scc

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