Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ intrflush(3X) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

curses(5)

intrflush(3X)                                                 intrflush(3X)

NAME
     intrflush - enable or disable flush on interrupt

SYNOPSIS
     cc [flag ...] file ... -lcurses [library ...]

     #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 the value of bf is TRUE, then flushing of
     the output buffer associated with the current screen will occur when
     an interrupt key (interrupt, suspend, or quit) is pressed. If the
     value of bf is FALSE then no flushing of the buffer will occur when an
     interrupt key is pressed. The default for the option is inherited from
     the display driver settings. The win argument is ignored.

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

ERRORS
     No errors are defined.

NOTES
     The same effect is achieved outside Curses using the NOFLSH local mode
     flag specified in the XBD specification ("General Terminal Inter-
     face").

SEE ALSO
     curses(3X), curses(5).





















Page 1                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026