Curses Library Functions formopts(3CURSES)
NAME
formopts, setformopts, formoptson, formoptsoff -
forms option routines
SYNOPSIS
cc [ flag... ] file... -lform -lcurses [ library... ]
#include
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.
ONLOVERLOAD Overload the REQNEWLINE form driver
request.
OBSOVERLOAD Overload the REQDELPREV form driver
request.
RETURN VALUES
setformopts(), formoptson(), and formoptsoff() return
one of the following:
EOK The function returned successfully.
ESYSTEMEROR System error.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 31 Dec 1996 1
Curses Library Functions formopts(3CURSES)
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Unsafe
SEE ALSO
curses(3CURSES), forms(3CURSES), attributes(5)
NOTES
The header automatically includes the headers
and .
SunOS 5.11 Last change: 31 Dec 1996 2
|