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