Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setcchar(3X) — HP-UX 10.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

setcchar(3X)

ENHANCED CURSES

NAME

setcchar — set cchar_t from a wide character string and rendition

SYNOPSIS

#include <curses.h>

int setcchar(cchar_t *wcval, wchar_t *const wch, const attr_t attrs,
             short color_pair, void *const opts);

DESCRIPTION

The setcchar() function initialises the object pointed to by wcval according to the character attributes in attrs , the colour pair in color_pair and the wide character string pointed to by wch . 

The opts argument is reserved for definition in a future edition of this document.  Currently, the application must provide a null pointer as opts. 

RETURN VALUE

Upon successful completion, setcchar() returns OK.  Otherwise, it returns ERR. 

ERRORS

No errors are defined. 

SEE ALSO

Characters in curs_intro, attroff(), can_change_color(), getcchar(), <curses.h>. 

CHANGE HISTORY

First released in X/Open Curses, Issue 4. 

Hewlett-Packard Company  —  HP-UX Release 10.20:  July 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026