1flushinp(3XCURSES)      X/Open Curses Library Functions     flushinp(3XCURSES)
2
3
4

NAME

6       flushinp - discard type-ahead characters
7

SYNOPSIS

9       cc [ flag... ] file... -I /usr/xpg4/include  -L  /usr/xpg4/lib \
10        -R  /usr/xpg4/lib  -lcurses  [ library... ]
11
12       c89 [ flag... ] file... -lcurses [ library... ]
13
14       #include <curses.h>
15
16       int flushinp(void);
17
18

DESCRIPTION

20       The  flushinp() function discards (flushes) any characters in the input
21       buffer associated with the current screen.
22

RETURN VALUES

24       The flushinp() function always returns OK.
25

ERRORS

27       No errors are defined.
28

ATTRIBUTES

30       See attributes(5) for descriptions of the following attributes:
31
32
33
34
35       ┌─────────────────────────────┬─────────────────────────────┐
36       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
37       ├─────────────────────────────┼─────────────────────────────┤
38       │Interface Stability          │Standard                     │
39       ├─────────────────────────────┼─────────────────────────────┤
40       │MT-Level                     │Unsafe                       │
41       └─────────────────────────────┴─────────────────────────────┘
42

SEE ALSO

44       libcurses(3XCURSES), attributes(5), standards(5)
45
46
47
48SunOS 5.11                        5 Jun 2002                flushinp(3XCURSES)
Impressum