X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_insstr.3x.html;h=bd93c58c32a6a447311ae3e05afc5b66fc2dc3f9;hb=122d3739b3c11c83decc625d53f26fff6e825710;hp=9b6d67d1a670865881f6a1b1264ba7f288909f4b;hpb=bca50d0d8592defee6c584fdedd25f4b1a31345b;p=ncurses.git diff --git a/doc/html/man/curs_insstr.3x.html b/doc/html/man/curs_insstr.3x.html index 9b6d67d1..bd93c58c 100644 --- a/doc/html/man/curs_insstr.3x.html +++ b/doc/html/man/curs_insstr.3x.html @@ -1,6 +1,7 @@ -
--curs_insstr(3x) curs_insstr(3x) +curs_insstr(3x) Library calls curs_insstr(3x)
insstr, insnstr, winsstr, winsnstr, mvinsstr, mvinsnstr, mvwinsstr, - mvwinsnstr - insert string before cursor in a curses window + mvwinsnstr - insert a string in a curses window
#include <curses.h> - int insstr(const char *str); - int insnstr(const char *str, int n); - int winsstr(WINDOW *win, const char *str); - int winsnstr(WINDOW *win, const char *str, int n); - int mvinsstr(int y, int x, const char *str); - int mvinsnstr(int y, int x, const char *str, int n); - int mvwinsstr(WINDOW *win, int y, int x, const char *str); - int mvwinsnstr(WINDOW *win, int y, int x, const char *str, int n); + int insstr(const char *str); + int insnstr(const char *str, int n); + int winsstr(WINDOW *win, const char *str); + int winsnstr(WINDOW *win, const char *str, int n); + + int mvinsstr(int y, int x, const char *str); + int mvinsnstr(int y, int x, const char *str, int n); + int mvwinsstr(WINDOW *win, int y, int x, const char *str); + int mvwinsnstr(WINDOW *win, int y, int x, const char *str, int n);
@@ -77,8 +79,8 @@
All routines that return an integer return ERR upon failure and OK (SVr4 specifies only "an integer value other than ERR") upon successful - completion, unless otherwise noted in the preceding routine descrip- - tions. + completion, unless otherwise noted in the preceding routine + descriptions. X/Open defines no error conditions. In this implementation, if the window parameter is null or the str parameter is null, an error is @@ -97,18 +99,18 @@ These functions are described in the XSI Curses standard, Issue 4, which adds const qualifiers to the arguments. - The Single Unix Specification, Version 2 states that insnstr and win- - snstr perform wrapping. This is probably an error, since it makes this - group of functions inconsistent. Also, no implementation of curses - documents this inconsistency. + The Single Unix Specification, Version 2 states that insnstr and + winsnstr perform wrapping. This is probably an error, since it makes + this group of functions inconsistent. Also, no implementation of + curses documents this inconsistency.
- curses(3x), curs_util(3x), curs_clear(3x), curs_inch(3x). + curses(3x), curs_clear(3x), curs_inch(3x), curs_util(3x) - curs_insstr(3x) +ncurses 6.4 2023-11-11 curs_insstr(3x)