X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_addch.3x.html;h=3ef9e50032d9048e9fc1033b1c584282ba177e7b;hp=f848b16e4b49823b9387f62f6424989b5369025b;hb=302a066a01e4de40f08b397e87ca0e97f20870a7;hpb=a3725e39272393790e32a083fd7391aad607828d diff --git a/doc/html/man/curs_addch.3x.html b/doc/html/man/curs_addch.3x.html index f848b16e..3ef9e500 100644 --- a/doc/html/man/curs_addch.3x.html +++ b/doc/html/man/curs_addch.3x.html @@ -1,7 +1,7 @@ @@ -46,15 +46,13 @@ - -
+
addch, waddch, mvaddch, mvwaddch, echochar, wechochar - add a character (with attributes) to a curses window, then advance the cursor --
+
#include <curses.h> int addch(const chtype ch); @@ -65,11 +63,9 @@ int wechochar(WINDOW *win, const chtype ch); --
+
--
+
The addch, waddch, mvaddch and mvwaddch routines put the character ch into the given window at its current window position, which is then advanced. They are analogous to @@ -113,25 +109,23 @@ Video attributes can be combined with a character argument passed to addch or related functions by logical-ORing them into the character. (Thus, text, including attributes, - can be copied from one place to another using inch and + can be copied from one place to another using inch(3x) and addch.) See the curs_attr(3x) page for values of prede- fined video attribute constants that can be usefully OR'ed into characters. --
+
The echochar and wechochar routines are equivalent to a - call to addch followed by a call to refresh, or a call to - waddch followed by a call to wrefresh. The knowledge that - only a single character is being output is used and, for - non-control characters, a considerable performance gain - may be seen by using these routines instead of their + call to addch followed by a call to refresh(3x), or a call + to waddch followed by a call to wrefresh. The knowledge + that only a single character is being output is used and, + for non-control characters, a considerable performance + gain may be seen by using these routines instead of their equivalents. --
+
The following variables may be used to add line drawing characters to the screen with routines of the addch fam- ily. The default character listed below is used if the @@ -178,8 +172,7 @@ ACS_VLINE | vertical line --
+
All routines return the integer ERR upon failure and OK on success (the SVr4 manuals specify only "an integer value other than ERR") upon successful completion, unless other- @@ -190,14 +183,12 @@ outside the window, or if the window pointer is null. --
+
Note that addch, mvaddch, mvwaddch, and echochar may be macros. --
+
All these functions are described in the XSI Curses stan- dard, Issue 4. The defaults specified for forms-drawing characters apply in the POSIX locale. @@ -237,8 +228,7 @@ of other implementations, but is not documented. --
+
curses(3x), curs_attr(3x), curs_clear(3x), curs_inch(3x), curs_outopts(3x), curs_refresh(3x), curs_variables(3x), putc(3).