NAME
addchstr, addchnstr, waddchstr, waddchnstr, mvaddchstr, mvaddchnstr, mvwaddchstr, mvwaddchnstr - add a string of characters (and attributes) to a curses window
SYNOPSIS
#include <curses.h> int addchstr(const chtype *chstr); int addchnstr(const chtype *chstr, int n); int waddchstr(WINDOW *win, const chtype *chstr); int waddchnstr(WINDOW *win, const chtype *chstr, int n); int mvaddchstr(int y, int x, const chtype *chstr); int mvaddchnstr(int y, int x, const chtype *chstr, int n); int mvwaddchstr(WINDOW *win, int y, int x, const chtype *chstr); int mvwaddchnstr(WINDOW *win, int y, int x, const chtype *chstr, int n);
DESCRIPTION
These functions copy the (null-terminated) chstr array into the window image structure starting at the current cursor position. The four functions with n as the last argument copy at most n elements, but no more than will fit on the line. If n=-1 then the whole array is copied, to the maximum number of characters that will fit on the line. The window cursor is not advanced. These functions work faster than waddnstr. On the other hand: · they do not perform checking (such as for the newline, backspace, or carriage return characters), · they do not advance the current cursor position, · they do not expand other control characters to ^-escapes, and · they truncate the string if it crosses the right margin, rather than wrapping it around to the new line.
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. 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 functions except waddchnstr may be macros.
PORTABILITY
These entry points are described in the XSI Curses standard, Issue 4.
SEE ALSO
addstr(3NCURSES), ncurses(3NCURSES). Comparable functions in the wide-character (ncursesw) library are described in add_wchstr(3NCURSES). addchstr(3NCURSES)
More Linux Commands
manpages/rpmkeys.8.html
rpmkeys(8) - RPM Keyring (Administration - Linux man page)
The general forms of rpm digital signature commands are rpmkeys --import PUBKEY ... rpmkeys {-K|--checksig} PACKAGE_FILE ... The --checksig option checks all th
manpages/ldap_compare.3.html
ldap_compare(3) - Perform an LDAP compare operation.........
The ldap_compare_ext_s() routine is used to perform an LDAP compare operation synchronously. It takes dn, the DN of the entry upon which to perform the compare,
manpages/ypset.8.html
ypset(8) - bind ypbind to a particular NIS server (ManPage)
In order to run ypset, ypbind must be initiated with the -ypset or -ypsetme options. See ypbind(8). ypset tells ypbind to get NIS services for the specified dom
manpages/CIRCLEQ_INSERT_AFTER.3.html
CIRCLEQ_INSERT_AFTER(3) implementations of lists, tail queue
These macros define and operate on three types of data structures: lists, tail queues, and circular queues. All three structures support the following functiona
manpages/shm_overview.7.html
shm_overview(7) - Overview of POSIX shared memory (ManPage)
The POSIX shared memory API allows processes to communicate information by sharing a region of memory. The interfaces employed in the API are: shm_open(3) Creat
manpages/perlandroid.1.html
perlandroid(1) Perl under Android - Linux manual page.......
This document describes how to set up your host environment when attempting to build Perl for Android. Cross-compilation These instructions assume an Unixish bu
manpages/FcFontSort.3.html
FcFontSort(3) - Return list of matching fonts (Man Page)....
Returns the list of fonts sorted by closeness to p. If trim is FcTrue, elements in the list which dont include Unicode coverage not provided by earlier elements
manpages/SDL_GetVideoInfo.3.html
SDL_GetVideoInfo(3) - returns a pointer to information about
This function returns a read-only pointer to information about the video hardware. If this is called before SDL_SetVideoMode, the vfmt member of the returned st
manpages/rsyslog.conf.5.html
rsyslog.conf(5) - rsyslogd(8) configuration file (Man Page)
The rsyslog.conf file is the main configuration file for the rsyslogd(8) which logs system messages on *nix systems. This file specifies rules for logging. For
manpages/tailcall.n.html
tailcall(n) Replace the current procedure with another comma
The tailcall command replaces the currently executing procedure, lambda application, or method with another command. The command, which will have arg ... passed
manpages/mitem_value.3menu.html
mitem_value(3menu) - set and get menu item values (ManPage)
If you turn off the menu option O_ONEVALUE (e.g., with set_menu_opts or menu_opts_off; see opts(3MENU)), the menu becomes multi-valued; that is, more than one i
manpages/XtSetWarningHandler.3.html
XtSetWarningHandler(3) - low-level error handlers (ManPage)
The XtError function has been superceded by XtAppError. The XtSetErrorHandler function has been superceded by XtAppSetErrorHandler. The XtSetWarningHandler func
