1form_post(3X)                                                    form_post(3X)
2
3
4

NAME

6       post_form,  unpost_form  - write or erase forms from associated subwin‐
7       dows
8

SYNOPSIS

10       #include <form.h>
11
12       int post_form(FORM *form);
13       int unpost_form(FORM *form);
14

DESCRIPTION

16       The function post_form displays a form to its associated subwindow.  To
17       trigger  physical  display  of  the  subwindow, use refresh(3X) or some
18       equivalent curses routine (the implicit doupdate triggered by an curses
19       input request will do).
20
21       The function unpost_form erases form from its associated subwindow.
22

RETURN VALUE

24       These routines return one of the following:
25
26       E_OK The routine succeeded.
27
28       E_BAD_ARGUMENT
29            Routine detected an incorrect or out-of-range argument.
30
31       E_BAD_STATE
32            Routine was called from an initialization or termination function.
33
34       E_NOT_POSTED
35            The form has not been posted.
36
37       E_NOT_CONNECTED
38            No items are connected to the form.
39
40       E_NO_ROOM
41            Form is too large for its window.
42
43       E_POSTED
44            The form has already been posted.
45
46       E_SYSTEM_ERROR
47            System error occurred (see errno(3)).
48

SEE ALSO

50       curses(3X), form(3X).
51

NOTES

53       The  header  file  <form.h>  automatically  includes  the  header  file
54       <curses.h>.
55

PORTABILITY

57       These routines emulate the System V forms library.  They were not  sup‐
58       ported on Version 7 or BSD versions.
59

AUTHORS

61       Juergen Pfeifer.  Manual pages and adaptation for new curses by Eric S.
62       Raymond.
63
64
65
66                                                                 form_post(3X)
Impressum