Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ menu_items(3X) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

menus(3X)



menu_items(3X)                   UNIX System V                   menu_items(3X)


NAME
      menuitems:  setmenuitems, menuitems, itemcount - connect and dis-
      connect items to and from menus

SYNOPSIS
      #include <menu.h>

      int setmenuitems(MENU *menu, ITEM **items);
      ITEM **menuitems(MENU *menu);
      int itemcount(MENU *menu);

DESCRIPTION
      setmenuitems changes the item pointer array connected to menu to the
      item pointer array items.

      menuitems returns a pointer to the item pointer array connected to menu.

      itemcount returns the number of items in menu.

RETURN VALUE
      menuitems returns NULL on error.

      itemcount returns -1 on error.

      setmenuitems returns one of the following:
      E_OK           - The routine returned successfully.
      E_SYSTEM_ERROR - System error.
      E_BAD_ARGUMENT - An incorrect argument was passed to the routine.
      E_POSTED       - The menu is already posted.
      E_CONNECTED    - One or more items are already connected to
                       another menu.

NOTES
      The header file <menu.h> automatically includes the header files <eti.h>
      and <curses.h>.

SEE ALSO
      curses(3X), menus(3X)
















10/89                                                                    Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026