shithub: scc

ref: 68111eb68c383a0a0166b452ba5b4e7c50afb5a0
dir: /src/libc/stdio/getc.c/

View raw version
#include <stdio.h>

#undef getc

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