wunctrl(3X)
ENHANCED CURSES
NAME
wunctrl — generate printable representation of a wide character
SYNOPSIS
#include <curses.h>
wchar_t *wunctrl(cchar_t *wc);
DESCRIPTION
The wunctrl() function generates a wide character string that is a printable representation of the wide character wc.
This function also performs the following processing on the input argument:
• Control characters are converted to the ^X notation.
• Any rendition information is removed.
RETURN VALUE
Upon successful completion, wunctrl() returns the generated string. Otherwise, it returns a null pointer.
ERRORS
No errors are defined.
SEE ALSO
keyname(), unctrl(), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
Hewlett-Packard Company — HP-UX Release 10.20: July 1996