2 .TH form_field_info 3X ""
4 \fBform_field_info\fR - retrieve field characteristics
6 \fB#include <form.h>\fR
8 int field_info(const FIELD *field, int *rows, int *cols,
9 int *frow, int *fcol, int *nrow, int *nbuf);
11 int dynamic_field_info(const FIELD *field, int *rows, int *cols, *max);
14 The function \fBfield_info\fR returns the sizes and other attributes passed in
15 to the field at its creation time. The attributes are: height, width, row of
16 upper-left corner, column of upper-left corner, number off-screen rows, and
17 number of working buffers.
19 The function \fBdynamic_field_info\fR returns the actual size of the field, and
20 its maximum possible size. If the field has no size limit, the location
21 addressed by the third argument will be set to 0. (A field can be made dynamic
22 by turning off the \fBO_STATIC\fR).
24 These routines return one of the following:
27 The routine succeeded.
30 System error occurred (see \fBerrno\fR).
33 Routine detected an incorrect or out-of-range argument.
35 \fBcurses\fR(3X) and 3X pages whose names begin "form_" for detailed
36 descriptions of the entry points.
38 The header file \fB<form.h>\fR automatically includes the header file
41 These routines emulate the System V forms library. They were not supported on
42 Version 7 or BSD versions.
44 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
47 .\"# The following sets edit modes for GNU EMACS