flushinp - discard input
#include <curses.h> int flushinp(void);
The flushinp() function discards (flushes) any characters in the input buffer associated with the current screen.
The flushinp() function always returns OK.
No errors are defined.
<curses.h>.