SRI-NOSC/mh/subs.dir/getchar.c

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

getchar()
{
	int c;

	c = 0;
	if(read(0, &c, 1) != 1)
		return(0);
	return(c);
}