menu_item_name(3curses)
menu_item_name: item_name, item_description --
get menus item name and description
Synopsis
cc [flag . . .] file -lmenu -lcurses [library . . .]
#include <menu.h>
char
item_name(ITEM
item);
char
item_description(ITEM
item);
Description
item_name returns a pointer to the name of item.
item_description returns a pointer to the description of item.
<Return> value
These routines return NULL on error.
Notices
The header file menu.h automatically includes the header files
eti.h and curses.h.
References
curses(3curses),
menus(3curses),
menu_new(3curses)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.