]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - doc/html/man/form_new.3x.html
ncurses 5.6
[ncurses.git] / doc / html / man / form_new.3x.html
index 1cdf94bf3daabd1036f90c00c694b025a9bf76b1..c3130129f949195b1426c4d417e904ac396cc08e 100644 (file)
@@ -2,7 +2,7 @@
 <!-- 
   * t
   ****************************************************************************
-  * Copyright (c) 1998 Free Software Foundation, Inc.                        *
+  * Copyright (c) 1998,2006 Free Software Foundation, Inc.                   *
   *                                                                          *
   * Permission is hereby granted, free of charge, to any person obtaining a  *
   * copy of this software and associated documentation files (the            *
@@ -28,7 +28,7 @@
   * sale, use or other dealings in this Software without prior written       *
   * authorization.                                                           *
   ****************************************************************************
-  * @Id: form_new.3x,v 1.5 1998/11/29 01:07:37 Rick.Ohnemus Exp @
+  * @Id: form_new.3x,v 1.7 2006/11/04 17:12:00 tom Exp @
 -->
 <HTML>
 <HEAD>
 
 </PRE>
 <H2>RETURN VALUE</H2><PRE>
-       The function <STRONG>new_form</STRONG> returns <STRONG>NULL</STRONG> on error.
-
-       The function <STRONG>free_form</STRONG> returns one of the following:
+       The function <STRONG>new_form</STRONG> returns  <STRONG>NULL</STRONG>  on  error.   It  sets
+       errno according to the function's success:
 
        <STRONG>E_OK</STRONG> The routine succeeded.
 
+       <STRONG>E_BAD_ARGUMENT</STRONG>
+            Routine  detected  an incorrect or out-of-range argu-
+            ment.
+
+       <STRONG>E_CONNECTED</STRONG>
+            The field is already connected to a form.
+
        <STRONG>E_SYSTEM_ERROR</STRONG>
-            System error occurred (see <STRONG>errno</STRONG>).
+            System error occurred, e.g., malloc failure.
+
+       The function <STRONG>free_form</STRONG> returns one of the following:
+
+       <STRONG>E_OK</STRONG> The routine succeeded.
 
        <STRONG>E_BAD_ARGUMENT</STRONG>
             Routine detected an incorrect or  out-of-range  argu-