unctrl(3X) unctrl(3X)
NAME
unctrl - generate printable representation of a character
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <unctrl.h>
char *unctrl(chtype c);
DESCRIPTION
The unctrl() function generates a character string that is a printable
representation of c. If c is a control character, it is converted to
the ^X notation. If c contains rendition information, the effect is
undefined.
RETURN VALUE
Upon successful completion, unctrl() returns the generated string.
Otherwise, it returns a null pointer.
ERRORS
No errors are defined.
SEE ALSO
curses(3X), keyname(3X), wunctrl(3X), unctrl(5).
Page 1 Reliant UNIX 5.44 Printed 11/98