Curses Library Functions cursbeep(3CURSES)
NAME
cursbeep, beep, flash - curses bell and screen flash rou-
tines
SYNOPSIS
cc [ flag ... ] file ... -lcurses [ library ... ]
#include
int beep(void);
int flash(void);
DESCRIPTION
The beep() and flash() routines are used to signal the ter-
minal user. The routine beep() sounds the audible alarm on
the terminal, if possible; if that is not possible, it
flashes the screen (visible bell), if that is possible. The
routine flash() flashes the screen, and if that is not pos-
sible, sounds the audible signal. If neither signal is pos-
sible, nothing happens. Nearly all terminals have an audible
signal (bell or beep), but only some can flash the screen.
RETURN VALUES
These routines always return OK.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Unsafe
SEE ALSO
curses(3CURSES), attributes(5)
NOTES
The header automatically includes the headers
and .
SunOS 5.11 Last change: 31 Dec 1996 1
|