X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmenu_new.3x.html;h=c8fdde7a61675dc309ad5d4043fbca79100a24ca;hp=7fc2e609f95a4c17cdb0192629a034136ebe9a2f;hb=ca276baf720e3a44721b9e18955d3f546955c6c8;hpb=a8987e73ec254703634802b4f7ee30d3a485524d diff --git a/doc/html/man/menu_new.3x.html b/doc/html/man/menu_new.3x.html index 7fc2e609..c8fdde7a 100644 --- a/doc/html/man/menu_new.3x.html +++ b/doc/html/man/menu_new.3x.html @@ -2,7 +2,7 @@ @@ -41,7 +41,7 @@
 
-menu_new(3x)                                         menu_new(3x)
+menu_new(3x)                                               menu_new(3x)
 
 
 
@@ -70,7 +70,14 @@
 
 

RETURN VALUE

-       The function new_menu returns NULL on error.
+       The function new_menu returns  NULL  on  error.   It  sets
+       errno according to the function's failure:
+
+       E_NOT_CONNECTED
+            No items are connected to the menu.
+
+       E_SYSTEM_ERROR
+            System error occurred, e.g., malloc failure.
 
        The function free_menu returns one of the following:
 
@@ -80,7 +87,7 @@
             System error occurred (see errno).
 
        E_BAD_ARGUMENT
-            Routine detected an incorrect or  out-of-range  argu-
+            Routine  detected  an incorrect or out-of-range argu-
             ment.
 
        E_POSTED
@@ -100,18 +107,18 @@
 
 

PORTABILITY

-       These routines emulate the System V  menu  library.   They
+       These  routines  emulate  the System V menu library.  They
        were not supported on Version 7 or BSD versions.
 
 
 

AUTHORS

-       Juergen  Pfeifer.   Manual  pages  and  adaptation for new
+       Juergen Pfeifer.  Manual  pages  and  adaptation  for  new
        curses by Eric S. Raymond.
 
 
 
-                                                     menu_new(3x)
+                                                           menu_new(3x)