]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - doc/html/man/curs_insstr.3x.html
ncurses 6.5 - patch 20240615
[ncurses.git] / doc / html / man / curs_insstr.3x.html
index 04e0239925e291a8d70a1441c1cb30d4b20f8f7b..55bcbe1bc6085806acbc3f15501752ee97b318e0 100644 (file)
   * sale, use or other dealings in this Software without prior written       *
   * authorization.                                                           *
   ****************************************************************************
-  * @Id: curs_insstr.3x,v 1.51 2024/04/20 21:20:07 tom Exp @
+  * @Id: curs_insstr.3x,v 1.55 2024/06/08 21:03:03 tom Exp @
 -->
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <HTML>
 <HEAD>
 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
 <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_insstr 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_insstr 3x 2024-06-08 ncurses 6.5 Library calls</TITLE>
 <link rel="author" href="mailto:bug-ncurses@gnu.org">
 
 </HEAD>
 <BODY>
-<H1 class="no-header">curs_insstr 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_insstr 3x 2024-06-08 ncurses 6.5 Library calls</H1>
 <PRE>
 <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>                  Library calls                 <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
 
        All functions return the integer <STRONG>ERR</STRONG> upon failure and <STRONG>OK</STRONG> on success.
 
        X/Open   Curses   does   not   specify   any  error  conditions.   This
-       implementation returns an error
+       implementation returns <STRONG>ERR</STRONG>
 
        <STRONG>o</STRONG>   if the <EM>win</EM> parameter is null or
 
        <STRONG>o</STRONG>   if the <EM>str</EM> parameter is null or
 
-       <STRONG>o</STRONG>   the <STRONG><A HREF="curs_insch.3x.html">winsch(3x)</A></STRONG> function returns an error.
+       <STRONG>o</STRONG>   the <STRONG><A HREF="curs_insch.3x.html">winsch(3x)</A></STRONG> function returns <STRONG>ERR</STRONG>.
 
        Functions prefixed with "mv" first perform cursor movement and fail  if
        the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries.
 
 
 </PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
-       These  functions  are  described  in X/Open Curses, Issue 4, which adds
-       <EM>const</EM> qualifiers to the arguments.
+       X/Open  Curses,  Issue  4  describes  these functions.  It specifies no
+       error conditions for them.
 
-       The Single Unix  Specification,  Version  2  states  that  <STRONG>insnstr</STRONG>  and
-       <STRONG>winsnstr</STRONG>  perform  wrapping.  This is probably an error, since it makes
-       this group of  functions  inconsistent.   Also,  no  implementation  of
-       curses documents this inconsistency.
+       Issue 4 distinguished <STRONG>insnstr</STRONG> and <STRONG>winsnstr</STRONG>  by  stating  they  "do  not
+       perform  wrapping".   This  was  probably an error, since it makes this
+       group of functions inconsistent.  No implementation of <EM>curses</EM> documents
+       this inconsistency, and Issue 7 removed it.
 
-       X/Open  states  that the entire string is inserted if <EM>n</EM> is less than 1.
+       Issue  4 states that the entire string is inserted if <EM>n</EM> is less than 1.
        This is probably an  error,  because  it  is  inconsistent  with  other
-       functions,  and  differs  from  the  SVr4 and X/Open implementations on
-       Solaris.
+       functions,  and  differs  from  the  SVr4  <EM>curses</EM>  and  Solaris <EM>xcurses</EM>
+       implementations.  Nevertheless, Issue 7 retains it.
 
 
 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
+       <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG> describes comparable functions of the <EM>ncurses</EM> library
+       in its wide-character configuration (<EM>ncursesw</EM>).
+
        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>, <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>, <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
 
 
 
-ncurses 6.5                       2024-04-20                   <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
+ncurses 6.5                       2024-06-08                   <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
 </PRE>
 <div class="nav">
 <ul>