curs_beep(3) UNIX Programmer's Manual curs_beep(3)
beep, flash - curses bell and screen flash routines
#include <curses.h>
int beep(void);
int flash(void);
The beep and flash routines are used to alert the terminal
user. The routine beep sounds an audible alarm on the termi-
nal, if possible; otherwise it flashes the screen (visible
bell). The routine flash flashes the screen, and if that is
not possible, sounds the alert. If neither alert is possi-
ble, nothing happens. Nearly all terminals have an audible
alert (bell or beep), but only some can flash the screen.
These routines return OK if they succeed in beeping or
flashing, ERR otherwise.
SVr4's beep and flash routines always returned OK, so it was
not possible to tell when the beep or flash failed.
These functions are described in the XSI Curses standard,
Issue 4. Like SVr4, it specifies that they always return OK.
curses(3)
MirOS BSD #10-current Printed 19.2.2012 1
Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material
provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.