| FORMS(3) | Library Functions Manual | FORMS(3) |
form_opts,
form_opts_off, form_opts_on,
set_form_opts — form
library
Curses Form Library (libform, -lform)
#include
<form.h>
Form_Options
form_opts(FORM
*form);
int
form_opts_off(FORM
*form, Form_Options
options);
int
form_opts_on(FORM
*form, Form_Options
options);
int
set_form_opts(FORM
*form, Form_Options
options);
The function
form_opts()
returns the current options that are set on the given form. The
form_opts_off()
will turn off the form options given in options for
the form, similarly,
form_opts_on()
will turn on the options specified in options for the
given form. The form options can be set to an explicit set by calling
set_form_opts().
The following form options are valid:
By default no form options are set.
Functions returning pointers will return
NULL if an error is detected. The functions that
return an int will return one of the following error values:
E_OKThe header
<form.h> automatically
includes both <curses.h> and
<eti.h>.
| January 1, 2001 | NetBSD 11.0 |