1 '\" te
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_CURSOR 3CURSES "Dec 31, 1996"
8 .SH NAME
9 form_cursor, pos_form_cursor \- position forms window cursor
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lform\fR \fB -lcurses \fR [ \fIlibrary\fR... ]
14 #include <form.h>
15
16 \fBint\fR \fBpos_form_cursor\fR(\fBFORM *\fR\fIform\fR);
17 .fi
18
19 .SH DESCRIPTION
20 .sp
21 .LP
22 \fBpos_form_cursor()\fR moves the form window cursor to the location required
23 by the form driver to resume form processing. This may be needed after the
24 application calls a \fBcurses\fR library I/O routine.
25 .SH RETURN VALUES
26 .sp
27 .LP
28 \fBpos_form_cursor()\fR returns one of the following:
29 .sp
30 .ne 2
31 .na
32 \fBE_OK\fR
33 .ad
34 .RS 18n
35 Thefunction returned successfully.
36 .RE
37
38 .sp
39 .ne 2
40 .na
41 \fBE_SYSTEM_ERROR\fR
42 .ad
43 .RS 18n
44 System error.
45 .RE
46
47 .sp
48 .ne 2
49 .na
50 \fBE_BAD_ARGUMENT\fR
51 .ad
52 .RS 18n
53 An argument is incorrect.
54 .RE
55
56 .sp
57 .ne 2
58 .na
59 \fBE_NOT_POSTED\fR
60 .ad
61 .RS 18n
62 The form is not posted.
63 .RE
64
65 .SH ATTRIBUTES
66 .sp
67 .LP
68 See \fBattributes\fR(5) for descriptions of the following attributes:
69 .sp
70
71 .sp
72 .TS
73 box;
74 c | c
75 l | l .
76 ATTRIBUTE TYPE ATTRIBUTE VALUE
77 _
78 MT-Level Unsafe
79 .TE
80
81 .SH SEE ALSO
82 .sp
83 .LP
84 \fBcurses\fR(3CURSES), \fBforms\fR(3CURSES), \fBattributes\fR(5)
85 .SH NOTES
86 .sp
87 .LP
88 The header \fB<form.h>\fR automatically includes the headers \fB<eti.h>\fR and
89 \fB<curses.h>\fR\&.
|
1 '\" te
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_CURSOR 3CURSES "Dec 31, 1996"
8 .SH NAME
9 form_cursor, pos_form_cursor \- position forms window cursor
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lform\fR \fB -lcurses \fR [ \fIlibrary\fR... ]
14 #include <form.h>
15
16 \fBint\fR \fBpos_form_cursor\fR(\fBFORM *\fR\fIform\fR);
17 .fi
18
19 .SH DESCRIPTION
20 .LP
21 \fBpos_form_cursor()\fR moves the form window cursor to the location required
22 by the form driver to resume form processing. This may be needed after the
23 application calls a \fBcurses\fR library I/O routine.
24 .SH RETURN VALUES
25 .LP
26 \fBpos_form_cursor()\fR returns one of the following:
27 .sp
28 .ne 2
29 .na
30 \fBE_OK\fR
31 .ad
32 .RS 18n
33 The function returned successfully.
34 .RE
35
36 .sp
37 .ne 2
38 .na
39 \fBE_SYSTEM_ERROR\fR
40 .ad
41 .RS 18n
42 System error.
43 .RE
44
45 .sp
46 .ne 2
47 .na
48 \fBE_BAD_ARGUMENT\fR
49 .ad
50 .RS 18n
51 An argument is incorrect.
52 .RE
53
54 .sp
55 .ne 2
56 .na
57 \fBE_NOT_POSTED\fR
58 .ad
59 .RS 18n
60 The form is not posted.
61 .RE
62
63 .SH ATTRIBUTES
64 .LP
65 See \fBattributes\fR(5) for descriptions of the following attributes:
66 .sp
67
68 .sp
69 .TS
70 box;
71 c | c
72 l | l .
73 ATTRIBUTE TYPE ATTRIBUTE VALUE
74 _
75 MT-Level Unsafe
76 .TE
77
78 .SH SEE ALSO
79 .LP
80 \fBcurses\fR(3CURSES), \fBforms\fR(3CURSES), \fBattributes\fR(5)
81 .SH NOTES
82 .LP
83 The header \fB<form.h>\fR automatically includes the headers \fB<eti.h>\fR and
84 \fB<curses.h>\fR\&.
|