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\&.