HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

intrflush

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The intrflush routine is used to flush output in tty on interrupt.

Syntax

   #include <curses.h>



   int intrflush(WINDOW *win, bool bf);

Parameters

bf

A Boolean expression.

win

An ignored parameter.

Return Values

OK

Successful completion.

ERR

An error occurred.

Description

If this option is enabled (bf is TRUE), intrflush() flushes all output in the terminal driver when an interrupt, quit, or suspend character is sent to the terminal. This increases interrupt reponse time but causes CURSES to lose track of what currently exists on the screen. Whether this option is enabled or disabled by default depends on the tty driver.

NOTE: The intrflush() routine is a macro.

Implementation Considerations

Identical to XPG/3

See Also

flushinp(), qiflush(), noqiflush()

Portability

HP-UX, UNIX System V, XPG/3

Feedback to webmaster