unctrl(3cur)
Name
unctrl − convert character to printable form
Syntax
#include <cursesX.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 cursesX.h header file described in intro(,), so you do not have to include it again.
Return Values
The unctrl macro returns a string.