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

NAME

6       echo, noecho - enable/disable terminal echo
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 echo(void);
17
18
19       int noecho(void);
20
21

DESCRIPTION

23       The  echo() function enables Echo mode for the current screen. The noe‐
24       cho() function disables Echo mode for the  current  screen.  Initially,
25       curses  software echo mode is enabled and hardware echo mode of the tty
26       driver is disabled. The echo() and noecho() functions control  software
27       echo  only.  Hardware echo must remain disabled for the duration of the
28       application, else the behavior is undefined.
29

RETURN VALUES

31       Upon successful completion, these functions return OK. Otherwise,  they
32       return ERR.
33

ERRORS

35       No errors are defined.
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       getch(3XCURSES),          getstr(3XCURSES),          initscr(3XCURSES),
53       libcurses(3XCURSES), scanw(3XCURSES), attributes(5), standards(5)
54
55
56
57SunOS 5.11                        5 Jun 2002                    echo(3XCURSES)
Impressum