[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    menu_item_name(3X) manual page Table of Contents

Name

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);

MT-Level

Unsafe

Description

item_name() returns a pointer to the name of item.

item_description() returns a pointer to the description of item.

Return Values

These routines return NULL on error.

See Also

curses(3X) , menus(3X) , menu_new(3X)

Notes

The header <menu.h> automatically includes the headers <eti.h> and <curses.h>.


Table of Contents