1form_post(3X) form_post(3X)
2
3
4
6 form_post - write or erase forms from associated subwindows
7
9 #include <form.h>
10 int post_form(FORM *form);
11 int unpost_form(FORM *form);
12
14 The function post_form displays a form to its associated subwindow. To
15 trigger physical display of the subwindow, use refresh or some equiva‐
16 lent curses routine (the implicit doupdate triggered by an curses input
17 request will do).
18
19 The function unpost_form erases form from its associated subwindow.
20
22 These routines return one of the following:
23
24 E_OK The routine succeeded.
25
26 E_BAD_ARGUMENT
27 Routine detected an incorrect or out-of-range argument.
28
29 E_BAD_STATE
30 Routine was called from an initialization or termination function.
31
32 E_NOT_POSTED
33 The form has not been posted.
34
35 E_NOT_CONNECTED
36 No items are connected to the form.
37
38 E_NO_ROOM
39 Form is too large for its window.
40
41 E_POSTED
42 The form has already been posted.
43
44 E_SYSTEM_ERROR
45 System error occurred (see errno).
46
48 curses(3X), form(3X).
49
51 The header file <form.h> automatically includes the header file
52 <curses.h>.
53
55 These routines emulate the System V forms library. They were not sup‐
56 ported on Version 7 or BSD versions.
57
59 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S.
60 Raymond.
61
62
63
64 form_post(3X)