2 .\" Copyright 1989 AT&T
3 .\" Portions Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH FORM_POST 3CURSES "Dec 31, 1996"
9 form_post, post_form, unpost_form \- write or erase forms from associated
14 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lform\fR \fB -lcurses \fR [ \fIlibrary\fR... ]
19 \fBint\fR \fBpost_form\fR(\fBFORM *\fR\fIform\fR);
24 \fBint\fR \fBunpost_form\fR(\fBFORM *\fR\fIform\fR);
30 \fBpost_form()\fR writes \fIform\fR into its associated subwindow. The
31 application programmer must use \fBcurses\fR library routines to display the
32 form on the physical screen or call \fBupdate_panels()\fR if the \fBpanels\fR
33 library is being used.
36 \fBunpost_form()\fR erases \fIform\fR from its associated subwindow.
40 These routines return one of the following:
47 The function returned successfully.
65 An argument is incorrect.
83 The form is not posted.
92 The form does not fit in the subwindow.
101 The routine was called from an initialization or termination function.
107 \fBE_NOT_CONNECTED \fR
110 The field is not connected to a form.
116 See \fBattributes\fR(5) for descriptions of the following attributes:
124 ATTRIBUTE TYPE ATTRIBUTE VALUE
132 \fBcurses\fR(3CURSES), \fBforms\fR(3CURSES), \fBpanel_update\fR(3CURSES),
133 \fBpanels\fR(3CURSES), \fBattributes\fR(5)
137 The header \fB<form.h>\fR automatically includes the headers \fB<eti.h>\fR and