Manual Pages for UNIX Darwin command on man menu_new
MyWebUniversity

Manual Pages for UNIX Darwin command on man menu_new

menunew(3X) menunew(3X)

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 item

pointer 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). EEBBAADDAARRGGUUMMEENNTT

Routine 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)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™