HP-UX Reference (11i v2 07/12) - 3 Library Functions A-M (vol 6)

b
beep(3X) beep(3X)
(CURSES)
NAME
beep() - audible signal
SYNOPSIS
#include <curses.h>
int beep(void);
DESCRIPTION
The beep() function alerts the user. It sounds the audible alarm on the terminal, or if that is not possi-
ble, it flashes the screen (visible bell). If neither signal is possible, nothing happens.
RETURN VALUE
The beep() function always returns OK.
ERRORS
No errors are defined.
APPLICATION USAGE
Nearly all terminals have an audible alarm, but only some can flash the screen.
SEE ALSO
flash(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The argument list is explicitly declared as void. The RETURN VALUE section is changed to indicate that
the function always returns OK. The
flash() function is moved to its own entry.
124 Hewlett-Packard Company 1 HP-UX 11i Version 2: December 2007 Update