Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > I

intrflush(3X)

CURSES
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

intrflush — enable or disable flush on interrupt

SYNOPSIS

#include <curses.h>

int intrflush(WINDOW *win, bool bf);

DESCRIPTION

The intrflush() function specifies whether pressing an interrupt key (interrupt, suspend or quit) will flush the input buffer associated with the current screen. If bf is TRUE, pressing an interrupt key will flush this input buffer. If bf is FALSE, pressing an interrupt key will not flush this input buffer. The default for the option is inherited from the display driver settings. The win argument must refer to a window associated with the current screen.

RETURN VALUE

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

ERRORS

No errors are defined.

APPLICATION USAGE

The same effect is achieved outside Curses using the NOFLSH local mode flag specified in the X/Open System Interface Definitions, Issue 4, Version 2 specification ( General Terminal Interface).

SEE ALSO

curses_intro(3X), see subsection Input Processing, <curses.h>, X/Open System Interface Definitions, Issue 4, Version 2 specification, Section 9.2, Parameters That Can Be Set.

CHANGE HISTORY

First released in X/Open Curses, Issue 2.

X/Open Curses, Issue 4

The entry is rewritten for clarity.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.