Enables or disables flush on interrupt.
#include <curses.h>
int intrflush(WINDOW *win, bool bf);
The intrflush subroutine specifies whether pressing an interrupt key (interrupt, suspend, or quit) will flush the input buffer associated with the current screen. If the value of bf is TRUE, then flushing of the output buffer associated with the current screen will occur when an interrupt key (interrupt, suspend, or quit) is pressed. If the value of bf is FALSE then no flushing of the buffer will occur when an interrupt key is pressed. The default for the option is inherited from the display driver settings. The win argument is ignored.
bf | |
*win | Specifies the window for which to enable or disable queue flushing. |
Upon successful completion, the intrflush subroutine returns OK. Otherwise, it returns ERR.
intrflush(my_window, TRUE);
intrflush(my_window, FALSE);
This subroutine is part of Base Operating System (BOS) Runtime.
List of Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
Setting Video Attributes and Curses Options in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.