| 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.
| “ | If you are angry with someone, you should walk a mile in their shoes - then you'll be a mile away from them, and you'll have their shoes. | ” |