shithub: riscv

ref: 45e2b4dfe9570aefe3e5f2a8b7af956b7365f522
dir: /sys/src/ape/lib/ap/stdio/getchar.c/

View raw version
/*
 * pANS stdio -- getchar
 */
#include "iolib.h"
#undef getchar
int getchar(void){
	return fgetc(stdin);
}