1wunctrl(3XCURSES) X/Open Curses Library Functions wunctrl(3XCURSES)
2
3
4
6 wunctrl - generate printable representation of a wide 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 wchar_t *wunctrl(cchar_t *wc);
17
18
20 wc Is a pointer to the wide character.
21
22
24 The wunctrl() function converts the a wide character string that is a
25 printable representation of the wide character wc.
26
27
28 This function also performs the following processing on the input argu‐
29 ment:
30
31 o Control characters are converted to the ^X notation
32
33 o Any rendition information is removed.
34
36 Upon successful completion, the wunctrl() function returns the gener‐
37 ated string. Otherwise, it returns a null pointer.
38
40 No errors are defined.
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 keyname(3XCURSES), libcurses(3XCURSES), unctrl(3XCURSES),
58 attributes(5), standards(5)
59
60
61
62SunOS 5.11 5 Jun 2002 wunctrl(3XCURSES)