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
11       int pos_menu_cursor(const MENU *menu);
12

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

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

NOTES

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

PORTABILITY

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

AUTHORS

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