The flushinp routine is used to discard type-ahead characters.
Syntax |
|
#include <curses.h>
int flushinp();
|
Return Values |
|
- OK
Successful completion.
- ERR
An error occurred.
Description |
|
The flushinp() routine discards all type-ahead characters (characters typed by the user, but not yet processed by CURSES).
Implementation Considerations |
|
Identical to XPG/3
Portability |
|
HP-UX, UNIX System V, XPG/3