*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> menu_userptr (3)              



NAME    [Toc]    [Back]

     menu_userptr, set_menu_userptr - get or set user pointer for a menu

LIBRARY    [Toc]    [Back]

     Curses Menu Library (libmenu, -lmenu)

SYNOPSIS    [Toc]    [Back]

     #include <menu.h>

     char *
     menu_userptr(MENU *menu);

     set_menu_userptr(MENU *menu, char *ptr);

DESCRIPTION    [Toc]    [Back]

     The menu_userptr() function returns the pointer to the user defined
     pointer for the given menu.  This pointer is set by the
     set_menu_userptr() function.

RETURN VALUES    [Toc]    [Back]

     The functions return one of the following error values:

     E_OK            The function was successful.
     E_SYSTEM_ERROR  There was a system error during the call.

SEE ALSO    [Toc]    [Back]

     curses(3), menus(3)

NOTES    [Toc]    [Back]

     The header <menu.h> automatically includes both <curses.h> and <eti.h>.

BSD                           September 10, 1999                           BSD
[ Back ]
 Similar pages
Name OS Title
glunurbscallbackdata IRIX set a user data pointer
gluNurbsCallbackDataEXT Tru64 set a user data pointer
menu_item_userptr NetBSD get or set user pointer for an item
glunurbscallbackdataext IRIX set a user data pointer
VkMenuConfirmFirstAction IRIX A menu action that requires user confirmation
VkOptionMenu IRIX An option menu for use with ViewKit menu items
csfgss_pPtr Tru64 get a pointer to an OID or an OID set
glcgetpointer IRIX return pointer value
glGetPointerv Tru64 return the address of the specified pointer
getsvc Tru64 Get a pointer to the svcinfo structure.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service