1form_opts(3CURSES)         Curses Library Functions         form_opts(3CURSES)
2
3
4

NAME

6       form_opts,  set_form_opts,  form_opts_on,  form_opts_off - forms option
7       routines
8

SYNOPSIS

10       cc [ flag... ] file... -lform  -lcurses  [ library... ]
11       #include <form.h>
12
13       int set_form_opts(FORM *form, OPTIONS opts);
14
15
16       int form_opts_on(FORM *form, OPTIONS opts);
17
18
19       int form_opts_off(FORM *form, OPTIONS opts);
20
21
22       OPTIONS form_opts(FORM *form);
23
24

DESCRIPTION

26       set_form_opts() turns on the named options for form and turns  off  all
27       remaining  options.  Options  are  boolean  values  which  can be OR-ed
28       together.form_opts_on() turns on the named options;  no  other  options
29       are  changed.form_opts_off()  turns  off  the  named  options; no other
30       options are changed.
31
32
33       form_opts() returns the options set for form.
34
35       O_NL_OVERLOAD    Overload the REQ_NEW_LINE form driver request.
36
37
38       O_BS_OVERLOAD    Overload the REQ_DEL_PREV form driver request.
39
40

RETURN VALUES

42       set_form_opts(), form_opts_on(), and form_opts_off() return one of  the
43       following:
44
45       E_OK              The function returned successfully.
46
47
48       E_SYSTEM_ERROR    System error.
49
50

ATTRIBUTES

52       See attributes(5) for descriptions of the following attributes:
53
54
55
56
57       ┌─────────────────────────────┬─────────────────────────────┐
58       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
59       ├─────────────────────────────┼─────────────────────────────┤
60       │MT-Level                     │Unsafe                       │
61       └─────────────────────────────┴─────────────────────────────┘
62

SEE ALSO

64       curses(3CURSES), forms(3CURSES), attributes(5)
65

NOTES

67       The  header  <form.h>  automatically  includes the headers  <eti.h> and
68       <curses.h>.
69
70
71
72SunOS 5.11                        31 Dec 1996               form_opts(3CURSES)
Impressum