form_opts(3X) MISCELLANEOUS LIBRARY FUNCTIONS form_opts(3X)
NAME
formopts: setformopts, formoptson, formoptsoff,
formopts - forms option routines
SYNOPSIS
#include <form.h>
int setformopts(FORM *form, OPTIONS opts);
int formoptson(FORM *form, OPTIONS opts);
int formoptsoff(FORM *form, OPTIONS opts);
OPTIONS formopts(FORM *form);
DESCRIPTION
setformopts turns on the named options for form and turns
off all remaining options. Options are boolean values which
can be OR-ed together.
formoptson turns on the named options; no other options
are changed.
formoptsoff turns off the named options; no other options
are changed.
formopts returns the options set for form.
Form Options:
O_NL_OVERLOAD Overload the REQNEWLINE form driver request.
O_BS_OVERLOAD Overload the REQDELPREV form driver request.
RETURN VALUE
setformopts, formoptson and formoptsoff return one of
the following:
E_OK - The function returned successfully.
E_SYSTEM_ERROR - System error.
NOTES
The header file <form.h> automatically includes the header
files <eti.h> and <curses.h>.
SEE ALSO
curses(3X), forms(3X).
Last change: 1