sys/pmax/dev/fb.c
/*
 * Get a character off of the keyboard.
 */
Get a character off of the keyboard.
Get a character off of the keyboard .
int
KBDGetc()
{
	register int c;
	for (;;) {
		c = (*cn_tab.cn_kbdgetc)(cn_tab.cn_dev);
		if (c == 0)
			return (-1);
		if ((c = kbdMapChar(c & 0xff)) >= 0)
			break;
	}
	return (c);
}
int KBDGetc ( ) { register int c ; for ( ; ; ) { c = ( * cn_tab . cn_kbdgetc ) ( cn_tab . cn_dev ) ; if ( c == 0 ) return ( -1 ) ; if ( ( c = kbdMapChar ( c & 0xff ) ) >= 0 ) break ; } return ( c ) ; }
Get a character off of the keyboard.
Get a character off of the keyboard .