HPlogo HP-UX Reference Volume 4 of 5 > w

wunctrl(3X)

ENHANCED CURSES
» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

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.

© Hewlett-Packard Development Company, L.P.