MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Curses Library Functions                    formuserptr(3CURSES)



NAME
     formuserptr, setformuserptr - associate application  data
     with forms

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

     int setformuserptr(FORM *form, char *ptr);


     char *formuserptr(FORM *form);


DESCRIPTION
     Every form has an associated user pointer that can  be  used
     to  store  pertinent  data. setformuserptr() sets the user
     pointer of form. formuserptr() returns the user pointer  of
     form.

RETURN VALUES
     formuserptr() returns  NUL  on  error.  setformuserptr()
     returns one of the following:

     EOK               The function returned successfully.


     ESYSTEMEROR     System error.


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
     The  header    automatically  includes  the  headers
      and .






SunOS 5.11          Last change: 31 Dec 1996                    1



OpenSolaris man pages main menu

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