field_info



field_info

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

NAME

form_field_info − retrieve field characteristics

SYNOPSIS

#include <form.h>
int field_info(const FIELD *field, int *rows, int *cols,
int *frow, int *fcol, int *nrow, int *nbuf);
int dynamic_field_info(const FIELD *field, int *rows, int *cols, int *max);

DESCRIPTION

The function field_info returns the sizes and other attributes passed in to the field at its creation time. The attributes are: height, width, row of upper-left corner, column of upper-left corner, number off-screen rows, and number of working buffers.

The function dynamic_field_info returns the actual size of the field, and its maximum possible size. If the field has no size limit, the location addressed by the third argument will be set to 0. A field can be made dynamic by turning off the O_STATIC option with field_opts_off.

RETURN VALUE

These routines return one of the following:

E_OK

The routine succeeded.

E_SYSTEM_ERROR

System error occurred (see errno).

E_BAD_ARGUMENT

Routine detected an incorrect or out-of-range argument.

SEE ALSO

ncurses(3NCURSES) and related pages whose names begin "form_" for detailed descriptions of the entry points.

NOTES

The header file <form.h> automatically includes the header file <curses.h>.

PORTABILITY

These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.

A null (zero pointer) is accepted for any of the return values, to ignore that value. Not all implementations allow this, e.g., Solaris 2.7 does not.

AUTHORS

Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.




More Linux Commands

manpages/rdjpgcom.1.html
rdjpgcom(1) - display text comments from a JPEG file........
rdjpgcom reads the named JPEG/JFIF file, or the standard input if no file is named, and prints any text comments found in the file on the standard output. The J

manpages/overlay.3ncurses.html
overlay(3ncurses) - overlay and manipulate overlapped curses
overlay.3ncurses - The overlay and overwrite routines overlay srcwin on top of dstwin. scrwin and dstwin are not required to be the same size; only text where t

manpages/pam_putenv.3.html
pam_putenv(3) - set or change PAM environment variable......
The pam_putenv function is used to add or change the value of PAM environment variables as associated with the pamh handle. The pamh argument is an authenticati

manpages/intel_reg_read.1.html
intel_reg_read(1) - Reads an Intel GPU register value.......
intel_reg_read is a tool to read Intel GPU registers, for use in debugging. The register argument is given as hexadecimal. EXAMPLES intel_reg_read 0x61230 Shows

manpages/cos.3.html
cos(3) - cosine function (Library - Linux man page).........
The cos() function returns the cosine of x, where x is given in radians. RETURN VALUE On success, these functions return the cosine of x. If x is a NaN, a NaN i

manpages/sasl_encodev.3.html
sasl_encodev(3) - Encode data for transport to authenticated
sasl_encode encodes data to be sent to be sent to a remote host who weve had a successful authentication session with. If there is a negotiated security the dat

manpages/smb.conf.5.html
smb.conf(5) - The configuration file for the Samba suite....
implementation was found at compilation time. It will only be used if DMAPI is found to enabled on the system at run time. Default: dmapi support = no dont desc

manpages/fgetpos.3.html
fgetpos(3) - reposition a stream (Library - Linux man page)
fgetpos.3 - The fseek() function sets the file position indicator for the stream pointed to by stream. The new position, measured in bytes, is obtained by addin

manpages/gv.3php.html
gv.3php (Manual - Linux man page)..........................
gv_php is a dynamically loaded extension for php that provides access to the graph facilities of graphviz. COMMANDS New graphs New empty graph graph_handle gv::

manpages/FontCacheQueryExtension.3.html
FontCacheQueryExtension(3) - X-TrueType font cache extension
FontCache is an extension that is used by X-TrueType to cache informations about fonts. FontCacheQueryExtension returns True if the FontCache extension is avail

manpages/page.3form.html
page(3form) - set and get form page number - Linux man page
page.3form - The function set_current field sets the current field of the given form; current_field returns the current field of the given form. The function se

manpages/ModPerl::BuildMM.3pm.html
ModPerl::BuildMM(3pm) - A "subclass" of ModPerl::MM used for
ModPerl::BuildMM is a subclass of ModPerl::MM used for building mod_perl 2.0. Refer to ModPerl::MM manpage. OVERRIDEN METHODS ModPerl::BuildMM overrides the fol





We can't live, work or learn in freedom unless the software we use is free.