X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_addstr.3x.html;h=4e1ec342b043ac7a53bedde53e9059d9adb46729;hp=243afe46bd6f75a4706b93ae28079dc25619fd57;hb=89730563d0a660d4ddd83d28660dc23c6d3f0bed;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280;ds=sidebyside diff --git a/doc/html/man/curs_addstr.3x.html b/doc/html/man/curs_addstr.3x.html index 243afe46..4e1ec342 100644 --- a/doc/html/man/curs_addstr.3x.html +++ b/doc/html/man/curs_addstr.3x.html @@ -27,7 +27,7 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: curs_addstr.3x,v 1.20 2020/02/02 23:34:34 tom Exp @ + * @Id: curs_addstr.3x,v 1.22 2020/03/22 00:06:42 tom Exp @ --> @@ -67,16 +67,16 @@
These functions write the (null-terminated) character string str on the - given window. It is similar to calling waddch once for each character - in the string. + given window. It is similar to calling waddch once for each byte in + the string. The mv functions perform cursor movement once, before writing any char- acters. 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 charac- - ters, or until a terminating null is reached. If n is -1, then the en- - tire string will be added. + The four functions with n as the last argument write at most n bytes, + or until a terminating null is reached. If n is -1, then the entire + string will be added.
@@ -93,7 +93,15 @@ 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. + the window pointer is null. If an error is returned by the wmove, no + characters are added to the window. + + If an error is returned by waddch (e.g., because the window is not + large enough, or an illegal byte sequence was detected) only part of + the string may be added. Aside from that, there is a special case in + waddch where an error may be returned after successfully writing a + character to the lower-right corner of a window when scrollok is dis- + abled.