1echochar(3XCURSES) X/Open Curses Library Functions echochar(3XCURSES)
2
3
4
6 echochar, wechochar - add a single-byte character and refresh window
7
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 echochar(const chtype ch);
17
18
19 int wechochar(WINDOW *win, const chtype ch);
20
21
23 The echochar() function produces the same effect as calling
24 addch(3XCURSES) and then refresh(3XCURSES). The wechochar() function
25 produces the same effect as calling waddch(3XCURSES) and then wre‐
26 fresh(3XCURSES).
27
29 ch Is a pointer to the character to be written to the window.
30
31
32 win Is a pointer to the window in which the character is to be
33 added.
34
35
37 On success, these functions return OK. Otherwise, they return ERR.
38
40 None.
41
43 See attributes(5) for descriptions of the following attributes:
44
45
46
47
48 ┌─────────────────────────────┬─────────────────────────────┐
49 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
50 ├─────────────────────────────┼─────────────────────────────┤
51 │Interface Stability │Standard │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │MT-Level │Unsafe │
54 └─────────────────────────────┴─────────────────────────────┘
55
57 addch(3XCURSES), doupdate(3XCURSES), echo_wchar(3XCURSES),
58 libcurses(3XCURSES), attributes(5), standards(5)
59
60
61
62SunOS 5.11 5 Jun 2002 echochar(3XCURSES)