page



page

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

NAME

form_page − set and get form page number

SYNOPSIS

#include <form.h>
int set_current_field(FORM *form, FIELD *field);
FIELD *current_field(const FORM *);
int set_form_page(FORM *form, int n);
int form_page(const FORM *form);
int field_index(const FIELD *field);

DESCRIPTION

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 set_form_page sets the form’s page number (goes to page n of the form).

The function form_page returns the form’s current page number.

The function field_index returns the index of the field in the field array of the form it is connected to. It returns ERR if the argument is the null pointer or the field is not connected.

RETURN VALUE

Except for form_page, each routine returns one of the following:

E_OK

The routine succeeded.

E_BAD_ARGUMENT

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

E_BAD_STATE

Routine was called from an initialization or termination function.

E_INVALID_FIELD

Contents of a field are not valid.

E_REQUEST_DENIED

The form driver could not process the request.

E_SYSTEM_ERROR

System error occurred (see errno).

SEE ALSO

ncurses(3NCURSES), form(3FORM).

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.

AUTHORS

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




More Linux Commands

manpages/userptr.3menu.html
userptr(3menu) - associate application data with a menu item
Every menu and every menu item has a field that can be used to hold application-specific data (that is, the menu-driver code leaves it alone). These functions g

manpages/meinproc4.8.html
meinproc4(8) - KDE translator for XML - Linux manual page...
meinproc4 converts DocBook files to HTML. GENERIC OPTIONS --author Show author information. --help Show help about options. --help-all Show all options. --help-

manpages/tlsmgr.8.html
tlsmgr(8) - Postfix TLS session cache and PRNG manager......
The tlsmgr(8) manages the Postfix TLS session caches. It stores and retrieves cache entries on request by smtpd(8) and smtp(8) processes, and periodically remov

manpages/copysign.3.html
copysign(3) - copy sign of a number - Linux manual page.....
The copysign(), copysignf(), and copysignl() functions return a value whose absolute value matches that of x, but whose sign bit matches that of y. For example,

manpages/ulckpwdf.3.html
ulckpwdf(3) - get shadow password file entry (Man Page).....
Long ago it was considered safe to have encrypted passwords openly visible in the password file. When computers got faster and people got more security-consciou

manpages/pkcs12.1ssl.html
pkcs12(1ssl) - PKCS#12 file utility - Linux manual page.....
The pkcs12 command allows PKCS#12 files (sometimes referred to as PFX files) to be created and parsed. PKCS#12 files are used by several programs including Nets

manpages/gjar-4.6.1.html
gjar-4.6(1) - - Archive tool for Java archives (Man Page)...
gjar is an implementation of Suns jar utility that comes with the JDK . If any file is a directory then it is processed recursively. The manifest file name and

manpages/argz_insert.3.html
argz_insert(3) - functions to handle an argz list (ManPage)
These functions are glibc-specific. An argz vector is a pointer to a character buffer together with a length. The intended interpretation of the character buffe

manpages/uuid_generate_time.3.html
uuid_generate_time(3) - create a new unique UUID value......
The uuid_generate function creates a new universally unique identifier (UUID). The uuid will be generated based on high-quality randomness from /dev/urandom, if

manpages/fattach.2.html
fattach(2) unimplemented system calls - Linux manual page...
These system calls are not implemented in the Linux kernel. RETURN VALUE These system calls always return -1 and set errno to ENOSYS. NOTES Note that ftime(3),

manpages/wpa_supplicant.conf.5.html
wpa_supplicant.conf(5) - configuration file for wpa_supplica
wpa_supplicant is configured using a text file that lists all accepted networks and security policies, including pre-shared keys. See the example configuration

manpages/Tcl_PkgPresentEx.3.html
Tcl_PkgPresentEx(3) - package version control (Man Page)....
These procedures provide C-level interfaces to Tcls package and version management facilities. Tcl_PkgRequire is equivalent to the package require command, Tcl_





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