1menu_cursor(3X)                                                menu_cursor(3X)
2
3
4

NAME

6       pos_menu_cursor - position a menu's cursor
7

SYNOPSIS

9       #include <menu.h>
10       int pos_menu_cursor(const MENU *menu);
11

DESCRIPTION

13       The  function  pos_menu_cursor restores the cursor to the current posi‐
14       tion associated with the menu's selected item.  This  is  useful  after
15       curses routines have been called to do screen-painting in response to a
16       menu select.
17

RETURN VALUE

19       This routine returns one of the following:
20
21       E_OK The routine succeeded.
22
23       E_SYSTEM_ERROR
24            System error occurred (see errno).
25
26       E_BAD_ARGUMENT
27            Routine detected an incorrect or out-of-range argument.
28
29       E_NOT_POSTED
30            The menu has not been posted.
31

SEE ALSO

33       curses(3X), menu(3X).
34

NOTES

36       The  header  file  <menu.h>  automatically  includes  the  header  file
37       <curses.h>.
38

PORTABILITY

40       These  routines  emulate the System V menu library.  They were not sup‐
41       ported on Version 7 or BSD versions.
42

AUTHORS

44       Juergen Pfeifer.  Manual pages and adaptation for new curses by Eric S.
45       Raymond.
46
47
48
49                                                               menu_cursor(3X)
Impressum