FreeBSD/usr.bin/talk/display.c
/*
 * Read the character at the indicated position in win
 */
Read the character at the indicated position in win
Read the character at the indicated position in win
int
readwin(WINDOW *win, int line, int col)
{
	int oldline, oldcol;
	int c;
	getyx(win, oldline, oldcol);
	wmove(win, line, col);
	c = winch(win);
	wmove(win, oldline, oldcol);
	return (c);
}
int readwin ( WINDOW * win , int line , int col ) { int oldline , oldcol ; int c ; getyx ( win , oldline , oldcol ) ; wmove ( win , line , col ) ; c = winch ( win ) ; wmove ( win , oldline , oldcol ) ; return ( c ) ; }
Read the character at the indicated position in win
Read the character at the indicated position in win