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