Curses Library Functions menuitemname(3CURSES)
NAME
menuitemname, itemname, itemdescription - get menus item
name and description
SYNOPSIS
cc [ flag ... ] file ... -lmenu -lcurses [ library .. ]
#include
char *itemname(ITEM *item);
char *itemdescription(ITEM *item);
DESCRIPTION
itemname() returns a pointer to the name of item.
itemdescription() returns a pointer to the description of
item.
RETURN VALUES
These routines return NUL on error.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Unsafe
SEE ALSO
curses(3CURSES), menus(3CURSES), menunew(3CURSES), attri-
butes(5)
NOTES
The header automatically includes the headers
and .
SunOS 5.11 Last change: 31 Dec 1996 1
|