1unctrl(3XCURSES) X/Open Curses Library Functions unctrl(3XCURSES)
2
3
4
6 unctrl - generate printable representation of a 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 <unctrl.h>
15
16 char *unctrl(chtype c);
17
18
20 c Is a character.
21
22
24 The unctrl() function generates a character string that is a printable
25 representation of c. If c is a control character,it is converted to the
26 ^X notation. If c contains rendition information, the effect is unde‐
27 fined.
28
30 Upon successful completion, the unctrl() function returns the generated
31 string. Otherwise, it returns a null pointer.
32
34 No errors are defined.
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Interface Stability │Standard │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │MT-Level │Unsafe │
48 └─────────────────────────────┴─────────────────────────────┘
49
51 addch(3XCURSES), addstr(3XCURSES), libcurses(3XCURSES), wunc‐
52 trl(3XCURSES), attributes(5), standards(5)
53
54
55
56SunOS 5.11 5 Jun 2002 unctrl(3XCURSES)