]> ncurses.scripts.mit.edu Git - ncurses.git/blob - doc/html/man/form_post.3x.html
ncurses 5.2
[ncurses.git] / doc / html / man / form_post.3x.html
1 <HTML>
2 <BODY>
3 <PRE>
4 <!-- Manpage converted by man2html 3.0.1 -->
5
6 </PRE>
7 <H2>NAME</H2><PRE>
8        <B>form_post</B>  -  write or erase forms from associated subwin-
9        dows
10
11
12 </PRE>
13 <H2>SYNOPSIS</H2><PRE>
14        <B>#include</B> <B>&lt;form.h&gt;</B>
15        int post_form(FORM *form);
16        int unpost_form(FORM *form);
17
18
19 </PRE>
20 <H2>DESCRIPTION</H2><PRE>
21        The function <B>post_form</B> displays a form to  its  associated
22        subwindow.   To trigger physical display of the subwindow,
23        use  <B>refresh</B>  or  some  equivalent  <B>curses</B>  routine   (the
24        implicit  <B>doupdate</B>  triggered  by  an <B>curses</B> input request
25        will do).
26
27        The function <B>unpost_form</B> erases form from  its  associated
28        subwindow.
29
30
31 </PRE>
32 <H2>RETURN VALUE</H2><PRE>
33        These routines return one of the following:
34
35        <B>E_OK</B> The routine succeeded.
36
37        <B>E_SYSTEM_ERROR</B>
38             System error occurred (see <B>errno</B>).
39
40        <B>E_BAD_ARGUMENT</B>
41             Routine  detected  an incorrect or out-of-range argu-
42             ment.
43
44        <B>E_POSTED</B>
45             The form has already been posted.
46
47        <B>E_BAD_STATE</B>
48             Routine was called from an initialization or termina-
49             tion function.
50
51        <B>E_NO_ROOM</B>
52             Form is too large for its window.
53
54        <B>E_NOT_POSTED</B>
55             The form has not been posted.
56
57        <B>E_NOT_CONNECTED</B>
58             No items are connected to the form.
59
60
61 </PRE>
62 <H2>SEE ALSO</H2><PRE>
63        <B><A HREF="ncurses.3x.html">curses(3x)</A></B>, <B><A HREF="form.3x.html">form(3x)</A></B>.
64
65
66 </PRE>
67 <H2>NOTES</H2><PRE>
68        The header file <B>&lt;form.h&gt;</B> automatically includes the header
69        file <B>&lt;curses.h&gt;</B>.
70
71
72 </PRE>
73 <H2>PORTABILITY</H2><PRE>
74        These routines emulate the System V forms  library.   They
75        were not supported on Version 7 or BSD versions.
76
77
78 </PRE>
79 <H2>AUTHORS</H2><PRE>
80        Juergen  Pfeifer.   Manual  pages  and  adaptation for new
81        curses by Eric S. Raymond.
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129 </PRE>
130 <HR>
131 <ADDRESS>
132 Man(1) output converted with
133 <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
134 </ADDRESS>
135 </BODY>
136 </HTML>