beep(3XC)
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
SunOS 5.6 — Last change: 1 Jun 1996