<STRONG>set_menu_items</STRONG>, <STRONG>menu_items</STRONG>, <STRONG>item_count</STRONG> - make and break
connections between items and menus
<STRONG>set_menu_items</STRONG>, <STRONG>menu_items</STRONG>, <STRONG>item_count</STRONG> - make and break
connections between items and menus
<STRONG>#include</STRONG> <STRONG><menu.h></STRONG>
int set_menu_items(MENU *menu, ITEM **items);
ITEM **menu_items(const MENU *menu);
int item_count(const MENU *menu);
<STRONG>#include</STRONG> <STRONG><menu.h></STRONG>
int set_menu_items(MENU *menu, ITEM **items);
ITEM **menu_items(const MENU *menu);
int item_count(const MENU *menu);
The function <STRONG>set_menu_items</STRONG> changes the item pointer array
of the given <EM>menu</EM>. The array must be terminated by a
<STRONG>NULL</STRONG>.
The function <STRONG>set_menu_items</STRONG> changes the item pointer array
of the given <EM>menu</EM>. The array must be terminated by a
<STRONG>NULL</STRONG>.
The function <STRONG>menu_items</STRONG> returns a pointer (which may be
<STRONG>NULL</STRONG>). It does not set errno.
The function <STRONG>menu_items</STRONG> returns a pointer (which may be
<STRONG>NULL</STRONG>). It does not set errno.
The header file <STRONG><menu.h></STRONG> automatically includes the header
file <STRONG><curses.h></STRONG>.
The header file <STRONG><menu.h></STRONG> automatically includes the header
file <STRONG><curses.h></STRONG>.
These routines emulate the System V menu library. They
were not supported on Version 7 or BSD versions.
These routines emulate the System V menu library. They
were not supported on Version 7 or BSD versions.