curs_beep(S-osr5)
curs_beep: beep, flash --
curses bell and screen flash routines
Syntax
cc ... -lcurses
#include <curses.h>
int beep(void);
int flash(void);
Description
The
beep(S-osr5)
and
flash(S-osr5)
routines are used to signal the terminal 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.
If neither signal is possible, nothing happens.
The routine
flash( )
flashes the screen,
and if that is not possible, sounds the audible signal.
If neither signal is possible, 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.
Warning
The header file curses.h automatically includes the header files
stdio.h and unctrl.h.
Files
/usr/lib/libcurses.a-
the library
See also
curses(S-osr5)
Standards conformance
beep(S-osr5)
and
flash(S-osr5)
are not part of any
currently supported standard;
they were developed by UNIX System Laboratories, Inc. and
are maintained by The SCO Group.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005