1curs_beep(3X)                                                    curs_beep(3X)
2
3
4

NAME

6       beep, flash - curses bell and screen flash routines
7

SYNOPSIS

9       #include <curses.h>
10
11       int beep(void);
12       int flash(void);
13

DESCRIPTION

15       The  beep  and flash routines are used to alert the terminal user.  The
16       routine beep sounds an audible alarm on the terminal, if possible; oth‐
17       erwise it flashes the screen (visible bell).  The routine flash flashes
18       the screen, and if that is not possible, sounds the alert.  If  neither
19       alert is possible, nothing happens.  Nearly all terminals have an audi‐
20       ble alert (bell or beep), but only some can flash the screen.
21

RETURN VALUE

23       These routines return OK if they succeed in beeping  or  flashing,  ERR
24       otherwise.
25

EXTENSIONS

27       SVr4's beep and flash routines always returned OK, so it was not possi‐
28       ble to tell when the beep or flash failed.
29

PORTABILITY

31       These functions are described in the  XSI  Curses  standard,  Issue  4.
32       Like SVr4, it specifies that they always return OK.
33

SEE ALSO

35       curses(3X)
36
37
38
39                                                                 curs_beep(3X)
Impressum