X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmitem_new.3x.html;h=e069b12e74a03211618679138bf12b8120852a84;hp=d36dd3dba8c29be6d70fcf62aadd784385a128bc;hb=ca276baf720e3a44721b9e18955d3f546955c6c8;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/doc/html/man/mitem_new.3x.html b/doc/html/man/mitem_new.3x.html index d36dd3db..e069b12e 100644 --- a/doc/html/man/mitem_new.3x.html +++ b/doc/html/man/mitem_new.3x.html @@ -2,7 +2,7 @@ @@ -74,15 +74,20 @@

RETURN VALUE

-       The function new_item returns NULL on error.
+       The function new_item returns  NULL  on  error.   It  sets
+       errno according to the function's failure:
+
+       E_BAD_ARGUMENT
+            Routine  detected  an incorrect or out-of-range argu-
+            ment.
+
+       E_SYSTEM_ERROR
+            System error occurred, e.g., malloc failure.
 
        The function free_item returns one of the following:
 
        E_OK The routine succeeded.
 
-       E_SYSTEM_ERROR
-            System error occurred (see errno).
-
        E_BAD_ARGUMENT
             Routine detected an incorrect or  out-of-range  argu-
             ment.
@@ -90,6 +95,9 @@
        E_CONNECTED
             Item is connected to a menu.
 
+       E_SYSTEM_ERROR
+            System error occurred (see errno).
+
 
 

SEE ALSO