NAME
mmeennuunneeww - create and destroy menus
SYNOPSIS
##iinncclluuddee <
MENU *newmenu(ITEM **items); int freemenu(MENU *menu);> DESCRIPTION
The function nneewwmmeennuu creates a new menu connected to a specified itempointer array (which must be NNUULLLL-terminated).
The function ffrreeeemmeennuu disconnects menu from its item array and frees the storage allocated for the menu. RREETTUURRNN VVAALLUUEE The function nneewwmmeennuu returns NNUULLLL on error. The function ffrreeeemmeennuu returns one of the following: EEOOKK The routine succeeded. EESSYYSSTTEEMMEERRRROORR System error occurred (see eerrrrnnoo). EEBBAADDAARRGGUUMMEENNTTRoutine detected an incorrect or out-of-range argument.
EEPPOOSSTTEEDD The menu has already been posted.SEE ALSO
ccuurrsseess(3X), mmeennuu(3X). NNOOTTEESS The header file <> automatically includes the header file < >. PPOORRTTAABBIILLIITTYY These routines emulate the System V menu library. They were not sup-
ported on Version 7 or BSD versions. AUTHORS Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. menunew(3X)