beep(3curses)


beep -- audible signal

Synopsis

cc [options] file -lcurses
#include <curses.h>

int beep(void);

Description

The beep(3curses) function alerts the user. It sounds the audible alarm on the terminal, or if that is not possible, it flashes the screen (visible bell). If neither signal is possible, nothing happens.

Return value

The beep(3curses) function always returns OK.

Errors

No errors are defined.

Usage

Nearly all terminals have an audible alarm, but only some can flash the screen.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

flash(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004