Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionsintrflush(3XCURSES)


NAME

 intrflush - enable or disable flush on interrupt

SYNOPSIS

 
#include <curses.h>
int intrflush(WINDOW *win, bool bf);

PARAMETERS

 
win
Is ignored.
bf
Is a Boolean expression.

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 VALUES

 

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

ERRORS

 

No errors are defined.

SEE ALSO

 

flushinp(3XCURSES), qiflush(3XCURSES)


SunOS 5.9Go To TopLast Changed 1 Jun 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.