wunctrl.3x (2010 09)
w
wunctrl(3X) 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(3X), unctrl(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1