new



new

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

NAME

form_new − create and destroy forms

SYNOPSIS

#include <form.h>
FORM *new_form(FIELD **fields);
int free_form(FORM *form);

DESCRIPTION

The function new_form creates a new form connected to a specified field pointer array (which must be NULL-terminated).

The function free_form disconnects form from its field array and frees the storage allocated for the form.

RETURN VALUE

The function new_form returns NULL on error. It sets errno according to the function’s success:

E_OK

The routine succeeded.

E_BAD_ARGUMENT

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

E_CONNECTED

The field is already connected to a form.

E_SYSTEM_ERROR

System error occurred, e.g., malloc failure.

The function free_form returns one of the following:

E_OK

The routine succeeded.

E_BAD_ARGUMENT

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

E_POSTED

The form has already been posted.

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/perlclib.1.html
perlclib(1) - Internal replacements for standard C library f
One thing Perl porters should note is that perl doesnt tend to use that much of the C standard library internally; youll see very little use of, for example, th

manpages/faccessat.2.html
faccessat(2) - check user's permissions of a file relative t
access() checks whether the calling process can access the file pathname. If pathname is a symbolic link, it is dereferenced. The mode specifies the accessibili

manpages/binfmt.d.5.html
binfmt.d(5) - Configure additional binary formats at boot...
At boot, systemd-binfmt.service(8) reads configuration files from the above directories to register in the kernel additional binary formats for executables. CON

manpages/execv.3.html
execv(3) - execute a file (Library - Linux man page)........
The exec() family of functions replaces the current process image with a new process image. The functions described in this manual page are front-ends for execv

manpages/ooweb.1.html
ooweb(1) - LibreOffice office suite - Linux manual page.....
LibreOffice (LO for short) is a multi-platform office productivity suite. It was derived from OpenOffice.org 3.3 Beta on September 28, 2010. libreoffice is a sh

manpages/PC.3ncurses.html
PC(3ncurses) - direct curses interface to the terminfo capab
These routines are included as a conversion aid for programs that use the termcap library. Their parameters are the same and the routines are emulated using the

manpages/frexpf.3.html
frexpf(3) - convert floating-point number to fractional and
The frexp() function is used to split the number x into a normalized fraction and an exponent which is stored in exp. RETURN VALUE The frexp() function returns

manpages/gdb.1.html
gdb(1) - The GNU Debugger (Commands - Linux manual page)....
The purpose of a debugger such as GDB is to allow you to see what is going on inside another program while it executes -- or what another program was doing at t

manpages/XLoadFont.3.html
XLoadFont(3) - load or unload fonts and font metric structur
The XLoadFont function loads the specified font and returns its associated font ID. If the font name is not in the Host Portable Character Encoding, the result

manpages/Tcl_SetChannelBufferSize.3.html
Tcl_SetChannelBufferSize(3) - procedures for creating and ma
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for

manpages/view.1.html
view(1) - Vi IMproved, a programmers text editor (Man Page)
Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs. There are a

manpages/feraiseexcept.3.html
feraiseexcept(3) - floating-point rounding and exception han
These eleven functions were defined in C99, and describe the handling of floating-point rounding and exceptions (overflow, zero-divide, etc.). Exceptions The di





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