1curs_beep(3CURSES) Curses Library Functions curs_beep(3CURSES)
2
3
4
6 curs_beep, beep, flash - curses bell and screen flash routines
7
9 cc [ flag ... ] file ... -lcurses [ library ... ]
10 #include <curses.h>
11
12 int beep(void);
13
14
15 int flash(void);
16
17
19 The beep() and flash() routines are used to signal the terminal user.
20 The routine beep() sounds the audible alarm on the terminal, if possi‐
21 ble; if that is not possible, it flashes the screen (visible bell), if
22 that is possible. The routine flash() flashes the screen, and if that
23 is not possible, sounds the audible signal. If neither signal is possi‐
24 ble, nothing happens. Nearly all terminals have an audible signal (bell
25 or beep), but only some can flash the screen.
26
28 These routines always return OK.
29
31 See attributes(5) for descriptions of the following attributes:
32
33
34
35
36 ┌─────────────────────────────┬─────────────────────────────┐
37 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
38 ├─────────────────────────────┼─────────────────────────────┤
39 │MT-Level │Unsafe │
40 └─────────────────────────────┴─────────────────────────────┘
41
43 curses(3CURSES), attributes(5)
44
46 The header <curses.h> automatically includes the headers <stdio.h> and
47 <unctrl.h>.
48
49
50
51SunOS 5.11 31 Dec 1996 curs_beep(3CURSES)