shithub: scc

ref: 2d455f13954cd94ae98ed346bb7da23d579ad6d7
dir: /lib/c/src/getc.c/

View raw version

#include <stdio.h>
#undef getc

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