| Main index | Section 3 | Options |
#include <form.h>FORM *new_form(FIELD **fields); int free_form(FORM *form);
The function free_form disconnects form from its field array and frees the storage allocated for the form.
| 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. | |
| 2024-03-16 | form_new (3X) | ncurses 6.5 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” | ” |