flushinp(3curses)


flushinp -- discard input

Synopsis

cc [options] file -lcurses
#include <curses.h>

int flushinp(void);

Description

The flushinp(3curses) function discards (flushes) any characters in the input buffer associated with the current screen.

Return value

The flushinp(3curses) function always returns OK.

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004