1menu_item_name(3CURSES)    Curses Library Functions    menu_item_name(3CURSES)
2
3
4

NAME

6       menu_item_name,  item_name,  item_description - get menus item name and
7       description
8

SYNOPSIS

10       cc [ flag ... ] file ... -lmenu  -lcurses  [ library .. ]
11       #include <menu.h>
12
13
14
15       char *item_name(ITEM *item);
16
17
18       char *item_description(ITEM *item);
19
20

DESCRIPTION

22       item_name() returns a pointer to the name of item.
23
24
25       item_description() returns a pointer to the description of item.
26

RETURN VALUES

28       These routines return NULL on error.
29

ATTRIBUTES

31       See attributes(5) for descriptions of the following attributes:
32
33
34
35
36       ┌─────────────────────────────┬─────────────────────────────┐
37       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
38       ├─────────────────────────────┼─────────────────────────────┤
39       │MT-Level                     │Unsafe                       │
40       └─────────────────────────────┴─────────────────────────────┘
41

SEE ALSO

43       curses(3CURSES), menus(3CURSES), menu_new(3CURSES), attributes(5)
44

NOTES

46       The header <menu.h> automatically includes  the  headers   <eti.h>  and
47       <curses.h>.
48
49
50
51SunOS 5.11                        31 Dec 1996          menu_item_name(3CURSES)
Impressum