1beep(3XCURSES)          X/Open Curses Library Functions         beep(3XCURSES)
2
3
4

NAME

6       beep, flash - activate audio-visual alarm
7

SYNOPSIS

9       cc [ flag... ] file... -I /usr/xpg4/include  -L  /usr/xpg4/lib \
10        -R  /usr/xpg4/lib  -lcurses  [ library... ]
11
12       c89 [ flag... ] file... -lcurses [ library... ]
13
14       #include <curses.h>
15
16       int beep(void);
17
18
19       int flash(void);
20
21

DESCRIPTION

23       The  beep()  and flash() functions produce an audio and visual alarm on
24       the terminal, respectively.  If the terminal has the capability, beep()
25       sounds  a  bell  or beep and  flash() flashes the screen.  One alarm is
26       substituted for another if the terminal does not support the   capabil‐
27       ity  called (see  terminfo(4) bel and flash capabilities). For example,
28       a call to beep() for a terminal without that capability  results  in  a
29       flash.
30

RETURN VALUES

32       These functions always return OK.
33

ERRORS

35       None.
36

ATTRIBUTES

38       See attributes(5) for descriptions of the following attributes:
39
40
41
42
43       ┌─────────────────────────────┬─────────────────────────────┐
44       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
45       ├─────────────────────────────┼─────────────────────────────┤
46       │Interface Stability          │Standard                     │
47       ├─────────────────────────────┼─────────────────────────────┤
48       │MT-Level                     │Unsafe                       │
49       └─────────────────────────────┴─────────────────────────────┘
50

SEE ALSO

52       libcurses(3XCURSES), terminfo(4), attributes(5), standards(5)
53
54
55
56SunOS 5.11                        5 Jun 2002                    beep(3XCURSES)
Impressum