shithub: scc

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