*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> new_form (3)              
Title
Content
Arch
Section
 

form_new(3)

Contents


NAME    [Toc]    [Back]

       form_new - create and destroy forms

SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

       The  function  new_form  creates a new form connected to a
       specified field pointer array (which must  be  NULL-terminated).


       The  function  free_form  disconnects  form from its field
       array and frees the storage allocated for the form.

RETURN VALUE    [Toc]    [Back]

       The function new_form returns NULL on error.

       The function free_form returns one of the following:

       E_OK The routine succeeded.

       E_SYSTEM_ERROR    [Toc]    [Back]
            System error occurred (see errno).

       E_BAD_ARGUMENT    [Toc]    [Back]
            Routine detected an incorrect or  out-of-range  argument.


       E_POSTED    [Toc]    [Back]
            The form has already been posted.

SEE ALSO    [Toc]    [Back]

      
      
       curses(3), form(3).

NOTES    [Toc]    [Back]

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

PORTABILITY    [Toc]    [Back]

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

AUTHORS    [Toc]    [Back]

       Juergen  Pfeifer.   Manual  pages  and  adaptation for new
       curses by Eric S. Raymond.
[ Back ]
 Similar pages
Name OS Title
free_menu FreeBSD create and destroy menus
menu_new OpenBSD create and destroy menus
menu_new FreeBSD create and destroy menus
new_menu OpenBSD create and destroy menus
new_menu FreeBSD create and destroy menus
free_menu OpenBSD create and destroy menus
dmPMCreateManager IRIX create and destroy special
mitem_new OpenBSD create and destroy menu items
form_field_new OpenBSD create and destroy form fields
openproj IRIX create/destroy a PROJ token
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service