NAME
addwstr, addnwstr, waddwstr, waddnwstr, mvaddwstr, mvaddnwstr, mvwaddwstr, mvwaddnwstr - add a string of wide characters to a curses window and advance cursor
SYNOPSIS
#include <curses.h> int addwstr(const wchar_t *wstr); int addnwstr(const wchar_t *wstr, int n); int waddwstr(WINDOW *win, const wchar_t *wstr); int waddnwstr(WINDOW *win, const wchar_t *wstr, int n); int mvaddwstr(int y, int x, const wchar_t *wstr); int mvaddnwstr(int y, int x, const wchar_t *wstr, int n); int mvwaddwstr(WINDOW *win, int y, int x, const wchar_t *wstr); int mvwaddnwstr(WINDOW *win, int y, int x, const wchar_t *wstr, int n);
DESCRIPTION
These functions write the characters of the (null-terminated) wchar_t character string wstr on the given window. It is similar to constructing a cchar_t for each wchar_t in the string, then calling wadd_wch for the resulting cchar_t. The mv functions perform cursor movement once, before writing any characters. Thereafter, the cursor is advanced as a side-effect of writing to the window. The four functions with n as the last argument write at most n wchar_t characters, or until a terminating null is reached. If n is -1, then the entire string will be added.
RETURN VALUE
All functions return the integer ERR upon failure and OK on success. X/Open does not define any error conditions. This implementation returns an error · if the window pointer is null or · if the string pointer is null or · if the corresponding calls to wadd_wch return an error. Functions with a "mv" prefix first perform a cursor movement using wmove, and return an error if the position is outside the window, or if the window pointer is null.
NOTES
All of these functions except waddnwstr may be macros.
PORTABILITY
These functions are described in the XSI Curses standard, Issue 4.
SEE ALSO
ncurses(3NCURSES), add_wch(3NCURSES) addwstr(3NCURSES)
More Linux Commands
manpages/new_fieldtype.3form.html
new_fieldtype(3form) - define validation-field types........
The function new_fieldtype creates a new field type usable for data validation. You supply it with field_check, a predicate to check the validity of an entered
manpages/tdx-util.8.html
tdx-util(8) - Tradindexed overview manipulation utility.....
tdx-util is an administrative interface to the tradindexed overview method for INN . It only works on tradindexed overview databases, not on any other type of I
manpages/XkbAllocGeomRows.3.html
XkbAllocGeomRows(3) - Allocate rows in a section (Man Page)
XkbAllocGeomRows.3 - Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keybo
manpages/pg3.8.html
pg3(8) - send stream of UDP packets - Linux manual page.....
ipg is not a program, it is script which should be sourced to bash. When sourced it loads module pg3 and exports a few of functions accessible from parent shell
manpages/vfs_readahead.8.html
vfs_readahead(8) - pre-load the kernel buffer cache.........
This VFS module is part of the samba(7) suite. This vfs_readahead VFS module detects read requests at multiples of a given offset (hex 0x80000 by default) and t
manpages/Tk_InternAtom.3.html
Tk_InternAtom(3) - manage cache of X atoms - Linux man page
These procedures are similar to the Xlib procedures XInternAtom and XGetAtomName. Tk_InternAtom returns the atom identifier associated with string given by name
manpages/unpost_form.3form.html
unpost_form(3form) - write or erase forms from associated su
The function post_form displays a form to its associated subwindow. To trigger physical display of the subwindow, use refresh or some equivalent curses routine
manpages/gnu_get_libc_version.3.html
gnu_get_libc_version(3) - get glibc version and release.....
The function gnu_get_libc_version() returns a string that identifies the glibc version available on the system. The function gnu_get_libc_release() returns a st
manpages/glCopyTexSubImage1D.3gl.html
glCopyTexSubImage1D(3gl) - copy a one-dimensional texture su
glCopyTexSubImage1D replaces a portion of a one-dimensional texture image with pixels from the current GL_READ_BUFFER (rather than from main memory, as is the c
manpages/Tk_NameOfFont.3.html
Tk_NameOfFont(3) - maintain database of fonts (Man Page)....
Tk_AllocFontFromObj finds the font indicated by objPtr and returns a token that represents the font. The return value can be used in subsequent calls to procedu
manpages/lassign.n.html
lassign(n) - Assign list elements to variables (Man Page)...
This command treats the value list as a list and assigns successive elements from that list to the variables given by the varName arguments in order. If there a
manpages/Tcl_UnstackChannel.3.html
Tcl_UnstackChannel(3) - manipulate stacked I/O channels.....
These functions are for use by extensions that add processing layers to Tcl I/O channels. Examples include compression and encryption modules. These functions t
