set_field_opts(), field_opts_on(), field_opts_off(), field_opts() - set and get field options
#include <form.h>
int set_field_opts(FIELD *field, OPTIONS opts);
int field_opts_on(FIELD *field, OPTIONS opts);
int field_opts_off(FIELD *field, OPTIONS opts);
OPTIONS field_opts(FIELD *field);
The function set_field_opts(3) sets all the given field's option bits (field option bits may be logically-ored together).
The function field_opts_on(3) turns on the given option bits, and leaves others alone.
The function field_opts_off(3) turns off the given option bits, and leaves others alone.
The function field_opts(3) returns the field's current option bits.
The following options are defined (all are on by default):
Except for field_opts(3), each routine returns one of the following:
curses(3)
forms(3)
The header file <form.h> automatically includes the header file <curses.h>.
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.