V10/ncurses/screen/intrflush.c

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

#include "curses.ext"
/*	@(#) intrflush.c: 1.1 10/15/83	(1.19	3/17/83)	*/

/*
 * TRUE => flush input when an interrupt key is pressed
 */
intrflush(win,bf)
WINDOW *win; int bf;
{
#ifdef USG
	if (bf)
		(cur_term->Nttyb).c_lflag &= ~NOFLSH;
	else
		(cur_term->Nttyb).c_lflag |= NOFLSH;
#else
	/* can't do this in 4.1BSD or V7 */
#endif
	reset_prog_mode();
}