HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
i
intrflush(3X) intrflush(3X)
(CURSES)
NAME
intrflush — enable or disable flush on interrupt
SYNOPSIS
#include <curses.h>
int intrflush(WINDOW *win, bool bf);
DESCRIPTION
The intrflush() function specifies whether pressing an interrupt key (interrupt, suspend or quit) will
flush the input buffer associated with the current screen. If bf is TRUE, pressing an interrupt key will
flush this input buffer. If bf is FALSE, pressing an interrupt key will not flush this input buffer. The
default for the option is inherited from the display driver settings. The win argument must refer to a win-
dow associated with the current screen.
RETURN VALUE
Upon successful completion, intrflush() returns OK. Otherwise, it returns ERR.
ERRORS
No errors are defined.
APPLICATION USAGE
The same effect is achieved outside Curses using the NOFLSH local mode flag specified in the X/Open Sys-
tem Interface Definitions, Issue 4, Version 2 specification (General Terminal Interface).
SEE ALSO
curses_intro(3X), see subsection Input Processing, <curses.h>, X/Open System Interface Definitions, Issue
4, Version 2 specification, Section 9.2, Parameters That Can Be Set.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity.
HP-UX Release 11i: December 2000 1 Section 3463
___
___