unctrl(3cur)
Name
unctrl − convert character to printable form
Syntax
#include <unctrl.h>
char ∗unctrl(c)
chtype c;
Description
The unctrl routine expands the character c into a character string which is a printable representation of the character.
Control characters are displayed in the ^X notation. Printing characters are displayed normally. The unctrl routine is a macro, defined in the unctrl.h header file. This header file is included by the curses.h header file (described in intro(,), so you do not have to include it again.
Return Value
The unctrl macro returns a string.
Errors
No errors are defined for this function.