DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

menu_item_name(S-osr5)


menu_item_name: item_name, item_description -- get menus item name and description

Syntax

cc ... -lmenu -lcurses

#include <menu.h>

char *item_name(ITEM *item); char *item_description(ITEM *item);

Description

item_name- set pointer to item name

item_description- return pointer to item name

item_name(S-osr5) returns a pointer to the name of item. item_description(S-osr5) returns a pointer to the description of item.

Return values

These routines return NULL on error.

Warning

The header file menu.h automatically includes the header files eti.h and curses.h.

Files


/usr/lib/libmenu.a
the library

See also

curses(S-osr5), menus(S-osr5), menu_new(S-osr5)

Standards conformance

item_name(S-osr5) and item_description(S-osr5) are not part of any currently supported standard; they were developed by UNIX System Laboratories, Inc. and are maintained by The SCO Group.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005