unctrl(3) — Subroutines
NAME
unctrl − Converts a character to printable form
SYNOPSIS
#include <curses.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 curses_intro(3), so you do not have to include it again.
RETURN VALUES
The unctrl macro returns a string.