flushinp(3cur)
Name
flushinp − discard typeahead
Syntax
#include <cursesX.h>
int flushinp()
Description
Any typeahead input that has not been read by the program is discarded.
Return Value
The flushinp function returns OK on success and ERR on error.
Errors
No errors are defined for this function.