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 Functionsbeep(3XCURSES)


NAME

 beep, flash - activate audio-visual alarm

SYNOPSIS

 
#include <curses.h>
int beep(void);
 int flash(void);

DESCRIPTION

 

The beep() and flash() functions produce an audio and visual alarm on the terminal, respectively. If the terminal has the capability, beep() sounds a bell or beep and flash() flashes the screen. One alarm is substituted for another if the terminal does not support the capability called (see terminfo(4) bel and flash capabilities). For example, a call to beep() for a terminal without that capability results in a flash.

RETURN VALUES

 

These functions always return OK.

ERRORS

 

None.

SEE ALSO

 

terminfo(4)


SunOS 5.9Go To TopLast Changed 1 Jun 1996

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