| MENU_ITEM_NAME(3) | Library Functions Manual | MENU_ITEM_NAME(3) |
item_description,
item_name — get item name or
description
Curses Menu Library (libmenu, -lmenu)
#include
<menu.h>
char *
item_description(ITEM
*item);
char *
item_name(ITEM
*item);
The
item_description()
menu function returns the description string
associated with the passed item. The
item_name()
function returns the name string associated with the passed item.
The function item_description() and
item_name() functions return NULL if the item
pointer is not valid.
The header <menu.h> automatically includes both <curses.h> and <eti.h>.
| September 10, 1999 | NetBSD 11.0 |