4 \fBform_new\fR - create and destroy forms
6 \fB#include <form.h>\fR
8 FORM *new_form(FIELD **fields);
10 int free_form(FORM *form);
13 The function \fBnew_form\fR creates a new form connected to a specified field
14 pointer array (which must be \fBNULL\fR-terminated).
16 The function \fBfree_form\fR disconnects \fIform\fR from its field array
17 and frees the storage allocated for the form.
19 The function \fBnew_form\fR returns \fBNULL\fR on error.
21 The function \fBfree_form\fR returns one of the following:
24 The routine succeeded.
27 System error occurred (see \fBerrno\fR).
30 Routine detected an incorrect or out-of-range argument.
33 The form has already been posted.
35 \fBcurses\fR(3X), \fBform\fR(3X).
37 The header file \fB<form.h>\fR automatically includes the header file
40 These routines emulate the System V forms library. They were not supported on
41 Version 7 or BSD versions.
43 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
46 .\"# The following sets edit modes for GNU EMACS