item_name(), item_description() - get menu item name and description fields
#include <menu.h>
char *item_name(ITEM *item);
char *item_description(ITEM *item);
The function item_name(3) returns the name part of the given item. The function item_description(3) returns the description part of the given item.
These routines returns NULL on error.
curses(3)
menus(3)
The header file <menu.h> automatically includes the header file <curses.h>.
These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions.