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

NAME

6       intrflush -  enable or disable flush on interrupt
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 intrflush(WINDOW *win, bool bf);
17
18

PARAMETERS

20       win    Is ignored.
21
22
23       bf     Is a Boolean expression.
24
25

DESCRIPTION

27       The  intrflush()  function  specifies whether pressing an interrupt key
28       (interrupt, suspend, or quit) will flush the  input  buffer  associated
29       with  the  current screen. If the value of bf is TRUE, then flushing of
30       the output buffer associated with the current screen will occur when an
31       interrupt  key (interrupt, suspend, or quit) is pressed.If the value of
32       bf is FALSE, then no flushing of the buffer will occur when  an  inter‐
33       rupt  key  is pressed. The default for the option is inherited from the
34       display driver settings. The win argument is ignored.
35

RETURN VALUES

37       Upon successful  completion,  intrflush()  returns  OK.  Otherwise,  it
38       returns ERR.
39

ERRORS

41       No errors are defined.
42

ATTRIBUTES

44       See attributes(5) for descriptions of the following attributes:
45
46
47
48
49       ┌─────────────────────────────┬─────────────────────────────┐
50       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
51       ├─────────────────────────────┼─────────────────────────────┤
52       │Interface Stability          │Standard                     │
53       ├─────────────────────────────┼─────────────────────────────┤
54       │MT-Level                     │Unsafe                       │
55       └─────────────────────────────┴─────────────────────────────┘
56

SEE ALSO

58       flushinp(3XCURSES),       libcurses(3XCURSES),       qiflush(3XCURSES),
59       attributes(5), standards(5)
60
61
62
63SunOS 5.11                        5 Jun 2002               intrflush(3XCURSES)
Impressum