menu_item_name(3ocurses)
menu_item_name: item_name, item_description --
get menus item name and description
Synopsis
cc [flag . . .] file -lmenu -locurses [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 ocurses.h.
References
curses(3ocurses),
menus(3ocurses),
menu_new(3ocurses)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004