MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Curses Library Functions                 formfieldinfo(3CURSES)



NAME
     formfieldinfo, fieldinfo, dynamicfieldinfo - get  forms
     field characteristics

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

     int fieldinfo(FIELD *field, int *rows, int *cols, int *frow, int *fcol,
          int *nrow, int *nbuf);


     int dynamicfieldinfo(FIELD *field, int *drows, int *dcols, int *max);


DESCRIPTION
     fieldinfo() returns the size,  position,  and  other  named
     field  characteristics,  as  defined in the original call to
     newfield(), to the locations pointed to  by  the  arguments
     rows, cols, frow, fcol, nrow, and nbuf.


     dynamicfieldinfo() returns the actual size of the field in
     the  pointer  arguments drows, dcols and returns the maximum
     growth allowed for field in max. If no maximum growth  limit
     is  specified  for field, max will contain 0. A field can be
     made dynamic by turning off the field option OSTATIC.

RETURN VALUES
     These routines return one of the following:

     EOK              The function returned successfully.


     ESYSTEMEROR    System error.


     EBADARGUMENT    An argument is incorrect.


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












SunOS 5.11          Last change: 31 Dec 1996                    1






Curses Library Functions                 formfieldinfo(3CURSES)



     
           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                    2



OpenSolaris man pages main menu

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