MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Curses Library Functions                        formnew(3CURSES)



NAME
     formnew, newform, freeform - create and destroy forms

SYNOPSIS
     cc [ flag... ] file... -lform  -lcurses  [ library... ]
     #include 

     FORM *newform(FIELD **fields);


     int freeform(FORM *form);


DESCRIPTION
     newform() creates a new form connected  to  the  designated
     fields and returns a pointer to the form.


     freeform() disconnects the form from its  associated  field
     pointer array and deallocates the space for the form.

RETURN VALUES
     newform() always returns NUL on error. freeform() returns
     one of the following:

     EOK              The function returned successfully.


     EBADARGUMENT    An argument is incorrect.


     EPOSTED          The form is posted.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     Unsafe                      
    


SEE ALSO
     curses(3CURSES), forms(3CURSES), attributes(5)

NOTES




SunOS 5.11          Last change: 31 Dec 1996                    1






Curses Library Functions                        formnew(3CURSES)



     The  header    automatically  includes  the  headers
      and .





















































SunOS 5.11          Last change: 31 Dec 1996                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™