'\"!  tbl | mmdoc
'\"macro stdmacro
.if n .pH g3x.menu_cursor @(#)menu_cursor	40.3 of 12/15/89
.\" Copyright 1989 AT&T
.\" ident	"@(#)svid_ti:ti_lib/menu_cursor	1.3"
.nr X
.if \nX=0 .ds x} menu_cursor 3X "" "\&"
.if \nX=1 .ds x} menu_cursor 3X ""
.if \nX=2 .ds x} menu_cursor 3X "" "\&"
.if \nX=3 .ds x} menu_cursor "" "" "\&"
.TH \*(x}
.SH NAME
\f4menu_cursor\f2: \f4 pos_menu_cursor\f1 \- correctly position a \f4menus\fP cursor
.SH SYNOPSIS
.nf
.ft 4
#include <menu.h>
.sp
int pos_menu_cursor(MENU *menu);
.ft 1
.fi
.SH DESCRIPTION
\f4pos_menu_cursor\fP moves the cursor in the window of \f2menu\f1 to
the correct position to resume menu processing.
This is needed after the application calls a \f4curses\fP library I/O routine.
.SH RETURN VALUE
This routine returns one of the following:
.TS
lfCWw(1.25i)1 c1 l .
E_OK	\-	The routine returned successfully.
E_SYSTEM_ERROR	\-	System error.
E_BAD_ARGUMENT	\-	An incorrect argument was passed to the routine.
E_NOT_POSTED	\-	The menu has not been posted.
.TE
.RE
.SH NOTES
.PP
The header file \f4<menu.h>\f1 automatically includes the header files
\f4<eti.h>\fP and \f4<curses.h>\fP.
.SH SEE ALSO
.na
\f4curses\fP(3X),
\f4menus\fP(3X),
\f4panels\fP(3X),
\f4panel_update\fP(3X).
.ad
