1menu_cursor(3CURSES) Curses Library Functions menu_cursor(3CURSES)
2
3
4
6 menu_cursor, pos_menu_cursor - correctly position a menus cursor
7
9 cc [ flag... ] file... -lmenu -lcurses [ library... ]
10 #include <menu.h>
11
12
13
14 int pos_menu_cursor(MENU *menu);
15
16
18 pos_menu_cursor() moves the cursor in the window of menu to the correct
19 position to resume menu processing. This is needed after the applica‐
20 tion calls a curses library I/O routine.
21
23 This routine returns one of the following:
24
25 E_OK The routine returned successfully.
26
27
28 E_SYSTEM_ERROR System error.
29
30
31 E_BAD_ARGUMENT An incorrect argument was passed to the routine.
32
33
34 E_NOT_POSTED The menu has not been posted.
35
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │MT-Level │Unsafe │
47 └─────────────────────────────┴─────────────────────────────┘
48
50 curses(3CURSES), menus(3CURSES), panel_update(3CURSES), pan‐
51 els(3CURSES), attributes(5)
52
54 The header <menu.h> automatically includes the headers <eti.h> and
55 <curses.h>.
56
57
58
59SunOS 5.11 31 Dec 1996 menu_cursor(3CURSES)