USG_PG3/usr/source/sccsutil1/getchr.c

Compare this file to the similar file:
Show the results in this format:

char getchr_____[] "~|^`getchr.c:	2.2";
/*
	Like getchar(), but non-bufferring.
*/

getchr()
{
	char c;

	if(read(0,&c,1) == 1) return(c);
	else fatal("read error on standard input (323)");
}