curs_addwstr(S-osr5)
curs_addwstr: addwstr, addnwstr, waddwstr, waddnwstr, mvaddwstr, mvaddnwstr, mvwaddwstr, mvwaddnwstr --
add a string of wchar_t characters to a curses window and advance cursor
Syntax
cc ... -lcurses
#include <curses.h>
int addwstr(wchar_t *wstr);
int addnwstr(wchar_t *wstr, int n);
int waddwstr(WINDOW *win, wchar_t *wstr);
int waddnwstr(WINDOW *win, wchar_t *wstr, int n);
int mvaddwstr(int y, int x, wchar_t *wstr);
int mvaddnwstr(int y, int x, wchar_t *wstr, int n);
int mvwaddwstr(WINDOW *win, int y, int x, wchar_t *wstr);
int mvwaddnwstr(WINDOW *win, int y, int x, wchar_t *wstr, int n);
Description
All of these routines write all the characters of the null-terminated
wchar_t character string str on the given window.
The effect is like calling
waddwch(S-osr5)
once for each
wchar_t character in the string.
The four routines with n as the last
argument write at most n
wchar_t characters.
If n is negative, the entire string is added.
Return values
All routines return the integer ERR on
failure and an integer value other than ERR
on successful completion.
Warning
The header file curses.h automatically includes the header files
stdio.h and unctrl.h.
All of these routines except
waddwstr(S-osr5)
and
waddnwstr(S-osr5)
can be macros.
Files
/usr/lib/libcurses.a-
the library
See also
curses(S-osr5),
curs_addwch(S-osr5)
Standards conformance
addwstr(S-osr5),
addnwstr(S-osr5),
waddwstr(S-osr5),
waddnwstr(S-osr5),
mvaddwstr(S-osr5),
mvaddnwstr(S-osr5),
mvwaddwstr(S-osr5),
and
mvwaddnwstr(S-osr5)
are not part of any currently supported standard;
they are extensions of AT&T System V
developed by The Santa Cruz Operation, Inc.
and maintained by The SCO Group.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005