X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fform_new.3x.html;h=f56b5cd38ad8e12ee0514ffc690a0702b7fb2390;hp=c90a023e58ee257b166beedeaa65e9bb3fccab81;hb=c6cfd97b8beaf0f6deafbf8aac7281cf6aa7f012;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01;ds=sidebyside diff --git a/doc/html/man/form_new.3x.html b/doc/html/man/form_new.3x.html index c90a023e..f56b5cd3 100644 --- a/doc/html/man/form_new.3x.html +++ b/doc/html/man/form_new.3x.html @@ -1,8 +1,7 @@ - + + + form_new 3x @@ -40,22 +42,25 @@

form_new 3x


-
+form_new(3x)                                               form_new(3x)
+
+
+
 
 
-

NAME

+

NAME

        form_new - create and destroy forms
 
 
 
-

SYNOPSIS

+

SYNOPSIS

        #include <form.h>
        FORM *new_form(FIELD **fields);
        int free_form(FORM *form);
 
 
 
-

DESCRIPTION

+

DESCRIPTION

        The  function  new_form  creates a new form connected to a
        specified field pointer array (which must  be  NULL-termi-
        nated).
@@ -65,15 +70,25 @@
 
 
 
-

RETURN VALUE

-       The function new_form returns NULL on error.
-
-       The function free_form returns one of the following:
+

RETURN VALUE

+       The function new_form returns  NULL  on  error.   It  sets
+       errno according to the function's success:
 
        E_OK The routine succeeded.
 
+       E_BAD_ARGUMENT
+            Routine  detected  an incorrect or out-of-range argu-
+            ment.
+
+       E_CONNECTED
+            The field is already connected to a form.
+
        E_SYSTEM_ERROR
-            System error occurred (see errno).
+            System error occurred, e.g., malloc failure.
+
+       The function free_form returns one of the following:
+
+       E_OK The routine succeeded.
 
        E_BAD_ARGUMENT
             Routine detected an incorrect or  out-of-range  argu-
@@ -84,38 +99,42 @@
 
 
 
-

SEE ALSO

+

SEE ALSO

        curses(3x), form(3x).
 
 
 
-

NOTES

+

NOTES

        The header file <form.h> automatically includes the header
        file <curses.h>.
 
 
 
-

PORTABILITY

+

PORTABILITY

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

AUTHORS

+

AUTHORS

        Juergen  Pfeifer.   Manual  pages  and  adaptation for new
        curses by Eric S. Raymond.
 
 
 
-
-
-
-
+                                                           form_new(3x)
 
-
-
-Man(1) output converted with -man2html -
+