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

beep\flash

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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 creen. 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

Feedback to webmaster