#include <curses.h>
The qiflush() function enables the flushing of input and output queues when an interrupt, quit, or suspend character is sent to the terminal. The noqiflush() function disables this flushing.
These functions do not return a value.
None
flushinp(3XCURSES), intrflush(3XCURSES)