#include <curses.h>
int flushinp(void);
The flushinp subroutine discards (flushes) any characters in the input buffers associated with the current screen.
The flushinp subroutine always returns OK.
To flush all type-ahead characters typed by the user but not yet read by the program, enter:
flushinp();
This subroutine is part of Base Operating System (BOS) Runtime.
Curses Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
Obsolete Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.