setcchar(3X) setcchar(3X)
NAME
setcchar - set cchart from a wide character string and rendition
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
int setcchar(cchart *wcval, const wchart *wch, const attrt attrs,
short colorpair, const void *opts);
DESCRIPTION
The setcchar() function initialises the object pointed to by wcval
according to the character attributes in attrs, the colour pair in
colorpair and the wide character string pointed to by wch.
The opts argument is reserved for definition in a future edition of
this manual page. 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
attroff(3X), canchangecolor(3X), curses(3X), getcchar(3X),
curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98