cc [flag . . .] file -lform -lcurses [library . . .]#include <form.h>
The forms package gives the applications programmer a terminal-independent method of creating and customizing forms for user-interaction. The forms package includes: field routines, which are used to create and customize fields, link fields and assign field types; fieldtype routines, which are used to create new field types for validating fields; and form routines, which are used to create and customize forms, assign pre/post processing functions, and display and interact with forms.
E_OK | The function returned successfully. |
E_CONNECTED | The field is already connected to a form. |
E_SYSTEM_ERROR | System error. |
E_BAD_ARGUMENT | An argument is incorrect. |
E_CURRENT | The field is the current field. |
E_POSTED | The form is posted. |
E_NOT_POSTED | The form is not posted. |
E_INVALID_FIELD | The field contents are invalid. |
E_NOT_CONNECTED | The field is not connected to a form. |
E_NO_ROOM | The form does not fit in the subwindow. |
E_BAD_STATE | The routine was called from an initialization or termination function. |
E_REQUEST_DENIED | The form driver request failed. |
E_UNKNOWN_COMMAND | An unknown request was passed to the the form driver. |