1ins_wch(3XCURSES) X/Open Curses Library Functions ins_wch(3XCURSES)
2
3
4
6 ins_wch, wins_wch, mvins_wch, mvwins_wch - insert a complex character
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 ins_wch(const cchar_t *wch);
17
18
19 int mvins_wch(int y, int x, const cchar_t *wch);
20
21
22 int mvwins_wch(WINDOW *win, int y, int x, const cchar_t *wch);
23
24
25 int wins_wch(WINDOW *win, const cchar_t *wch);
26
27
29 wch Is the complex character to be inserted.
30
31
32 y Is the y (row) coordinate of the position of the character.
33
34
35 x Is the x (column) coordinate of the position of the character.
36
37
38 win Is a pointer to the window in which the character is to be
39 inserted.
40
41
43 The ins_wch() function inserts the complex character wch at the cur‐
44 rent cursor position of the stdscr window. The wins_wch() function per‐
45 forms the identical action but in window win. The mvins_wch() and
46 mvwins_wch() functions insert the character at the position indicated
47 by the x (column) and y (row) parameters (the former in the stdscr
48 window; the latter in window win). The cursor position does not
49 change.
50
51
52 All characters to the right of the inserted character are moved right
53 one character. The last character on the line is deleted.
54
55
56 Insertions and deletions occur at the character level. The cursor is
57 adjusted to the first column of the character prior to the operation.
58
60 On success, these functions return OK. Otherwise, they return ERR.
61
63 None.
64
66 See attributes(5) for descriptions of the following attributes:
67
68
69
70
71 ┌─────────────────────────────┬─────────────────────────────┐
72 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
73 ├─────────────────────────────┼─────────────────────────────┤
74 │Interface Stability │Standard │
75 ├─────────────────────────────┼─────────────────────────────┤
76 │MT-Level │Unsafe │
77 └─────────────────────────────┴─────────────────────────────┘
78
80 add_wch(3XCURSES), ins_nwstr(3XCURSES), libcurses(3XCURSES),
81 attributes(5), standards(5)
82
83
84
85SunOS 5.11 5 Jun 2002 ins_wch(3XCURSES)