1menu_mark(3CURSES) Curses Library Functions menu_mark(3CURSES)
2
3
4
6 menu_mark, set_menu_mark - menus mark string routines
7
9 cc [ flag... ] file... -lmenu -lcurses [ library... ]
10 #include <menu.h>
11
12 int set_menu_mark(MENU *menu, char *mark);
13
14
15 char *menu_mark(MENU *menu);
16
17
19 menus displays mark strings to distinguish selected items in a menu (or
20 the current item in a single-valued menu). set_menu_mark() sets the
21 mark string of menu to mark. menu_mark() returns a pointer to the mark
22 string of menu.
23
25 menu_mark() returns NULL on error. set_menu_mark() returns one of the
26 following:
27
28 E_OK The routine returned successfully.
29
30
31 E_SYSTEM_ERROR System error.
32
33
34 E_BAD_ARGUMENT An incorrect argument was passed to the routine.
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), attributes(5)
51
53 The header <menu.h> automatically includes the headers <eti.h> and
54 <curses.h>.
55
56
57
58SunOS 5.11 31 Dec 1996 menu_mark(3CURSES)