1form_field_info(3CURSES)   Curses Library Functions   form_field_info(3CURSES)
2
3
4

NAME

6       form_field_info, field_info, dynamic_field_info - get forms field char‐
7       acteristics
8

SYNOPSIS

10       cc [ flag... ] file... -lform  -lcurses  [ library... ]
11       #include <form.h>
12
13       int field_info(FIELD *field, int *rows, int *cols, int *frow, int *fcol,
14            int *nrow, int *nbuf);
15
16
17       int dynamic_field_info(FIELD *field, int *drows, int *dcols, int *max);
18
19

DESCRIPTION

21       field_info() returns the size, position, and other named field  charac‐
22       teristics, as defined in the original call to new_field(), to the loca‐
23       tions pointed to by the arguments rows, cols,  frow,  fcol,  nrow,  and
24       nbuf.
25
26
27       dynamic_field_info()  returns  the  actual  size  of  the  field in the
28       pointer arguments drows, dcols and returns the maximum  growth  allowed
29       for  field  in  max. If no maximum growth limit is specified for field,
30       max will contain 0. A field can be made  dynamic  by  turning  off  the
31       field option O_STATIC.
32

RETURN VALUES

34       These routines return one of the following:
35
36       E_OK              The function returned successfully.
37
38
39       E_SYSTEM_ERROR    System error.
40
41
42       E_BAD_ARGUMENT    An argument is incorrect.
43
44

ATTRIBUTES

46       See attributes(5) for descriptions of the following attributes:
47
48
49
50
51       ┌─────────────────────────────┬─────────────────────────────┐
52       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
53       ├─────────────────────────────┼─────────────────────────────┤
54       │MT-Level                     │Unsafe                       │
55       └─────────────────────────────┴─────────────────────────────┘
56

SEE ALSO

58       curses(3CURSES), forms(3CURSES), attributes(5)
59

NOTES

61       The  header  <form.h>  automatically  includes the headers  <eti.h> and
62       <curses.h>.
63
64
65
66SunOS 5.11                        31 Dec 1996         form_field_info(3CURSES)
Impressum