HP 3000 Manuals

beep, flash [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

beep, flash 

The beep and flash routines activate the audio-visual alarm.

Syntax 

     #include <curses.h>

     int beep();
     int flash();

Return Values 

OK                    Successful completion.

ERR                   An error occurred.  The terminal does not support
                      either capability.

Description 

The beep() and flash() routines 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.  For example, a call to beep() for a terminal without that
capability results in a flash and vice versa.

Implementation Considerations 

Identical to XPG/3

Portability 

HP-UX, UNIX System V, XPG/3



MPE/iX 5.0 Documentation