HP-UX Reference (11i v2 07/12) - 3 Library Functions A-M (vol 6)
f
flushinp(3X) flushinp(3X)
(CURSES)
NAME
flushinp() - discard input
SYNOPSIS
#include <curses.h>
int flushinp(void);
DESCRIPTION
The flushinp() function discards (flushes) any characters in the input buffer associated with the
current screen.
RETURN VALUE
The flushinp() function always returns OK.
ERRORS
No errors are defined.
SEE ALSO
<curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity. The argument list for the flushinp() function is explicitly declared
as void.
HP-UX 11i Version 2: December 2007 Update − 1 − Hewlett-Packard Company 431