* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
-</PRE>
-<H2><a name="h2-NAME">NAME</a></H2><PRE>
- <STRONG>menu_items</STRONG> - make and break connections between items and
- menus
+</PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
+ <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.