4 \fBmenu_cursor\fR - position a menu's cursor
6 \fB#include <menu.h>\fR
8 int pos_menu_cursor(const MENU *menu);
11 The function \fBpos_menu_cursor\fR restores the cursor to the current position
12 associated with the menu's selected item. This is useful after \fBcurses\fR
13 routines have been called to do screen-painting in response to a menu select.
15 This routine returns one of the following:
18 The routine succeeded.
21 System error occurred (see \fBerrno\fR).
24 Routine detected an incorrect or out-of-range argument.
27 The menu has not been posted.
29 \fBcurses\fR(3X), \fBmenu\fR(3X).
31 The header file \fB<menu.h>\fR automatically includes the header file
34 These routines emulate the System V menu library. They were not supported on
35 Version 7 or BSD versions.
37 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
40 .\"# The following sets edit modes for GNU EMACS