DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

curs_beep(S)


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) and flash(S) 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)

Standards conformance

beep(S) and flash(S) are not part of any currently supported standard; they were developed by UNIX System Laboratories, Inc. and are maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003