if((tcsetattr(cur_term->Filedes, TCSANOW, &cur_term->Nttyb)) == -1) return ERR;
AFTER("intrflush"); if ((SET_TTY(cur_term->Filedes, &cur_term->Nttyb)) == -1) returnCode(ERR);
int intrflush(WINDOW *win, bool flag){	T(("intrflush() called"));	/*	 * This call does the same thing as the qiflush()/noqiflush()	 * pair.  We know for certain that SVr3 intrflush() tweaks the	 * NOFLSH bit; on the other hand, the match (in the SVr4 man	 * pages) between the language describing NOFLSH in termio(7)	 * and the language describing qiflush()/noqiflush() in	 * curs_inopts(3x) is too exact to be coincidence.	 */#ifdef TERMIOS	if (flag)		cur_term->Nttyb.c_lflag &= ~(NOFLSH);	else		cur_term->Nttyb.c_lflag |= (NOFLSH);	if((tcsetattr(cur_term->Filedes, TCSANOW, &cur_term->Nttyb)) == -1)		return ERR;	else		return OK;#else	return ERR;#endif}