FORMS(3) | Library Functions Manual | FORMS(3) |
free_form
, new_form
—
#include <form.h>
int
free_form
(FORM
*form);
FORM *
new_form
(FIELD
**fields);
free_form
() frees all the resources
associated with the form and destroys the form. Calling
new_form
() will create a new form, set the form
parameters to the current defaults and attach the passed fields to the form.
The array of fields passed to new_form
() must be
terminated with a NULL
pointer to indicate the end of
the fields.
NULL
if an
error is detected. The functions that return an int will return one of the
following error values:
E_OK
E_BAD_ARGUMENT
E_POSTED
<form.h>
automatically includes both
<curses.h>
and
<eti.h>
.
January 1, 2001 | NetBSD 9.2 |