ins_nwstr(3X) ins_nwstr(3X)
NAME
insnwstr, inswstr, mvinsnwstr, mvinswstr, mvwinsnwstr,
mvwinswstr, winsnwstr, winswstr - insert a wide-character string
into a window
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
int insnwstr(const wchart *wstr, int n);
int inswstr(const wchart *wstr);
int mvinsnwstr(int y, int x, const wchart *wstr, int n);
int mvinswstr(int y, int x, const wchart *wstr);
int mvwinsnwstr(WINDOW *win, int y, int x, const wchart *wstr, int n);
int mvwinswstr(WINDOW *win, int y, int x, const wchart *wstr);
int winsnwstr(WINDOW *win, const wchart *wstr, int n);
int winswstr(WINDOW *win, const wchart *wstr);
DESCRIPTION
These functions insert a wchart character string (as many wchart
characters as will fit on the line) in the current or specified window
immediately before the current or specified position.
Any non-spacing characters in the string are associated with the first
spacing character in the string that precedes the non-spacing charac-
ters. If the first character in the string is a non-spacing character,
these functions will fail.
These functions do not perform wrapping. These functions do not
advance the cursor position. These functions perform special-character
processing.
The insnwstr(), mvinsnwstr(), mvwinsnwstr() and winsnwstr() func-
tions insert at most n wchart characters. If n is less than 1, then
the entire string is inserted.
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they
return ERR.
ERRORS
No errors are defined.
Page 1 Reliant UNIX 5.44 Printed 11/98
ins_nwstr(3X) ins_nwstr(3X)
SEE ALSO
curses(3X), curses(5).
Page 2 Reliant UNIX 5.44 Printed 11/98