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

  man pages->NetBSD man pages -> menu_item_userptr (3)              
Title
Content
Arch
Section
 

MENU_ITEM_USERPTR(3)

Contents


NAME    [Toc]    [Back]

     item_userptr, set_item_userptr - get or set user pointer for an item

LIBRARY    [Toc]    [Back]

     Curses Menu Library (libmenu, -lmenu)

SYNOPSIS    [Toc]    [Back]

     #include <menu.h>

     char *
     item_userptr(ITEM *item);

     int
     set_item_userptr(ITEM *item, char *userptr);

DESCRIPTION    [Toc]    [Back]

     The item_userptr() function returns the value of the user defined pointer
     for the given item, this pointer is defined by the set_item_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
menu_userptr NetBSD get or set user pointer for a menu
glunurbscallbackdata IRIX set a user data pointer
gluNurbsCallbackDataEXT Tru64 set a user data pointer
glunurbscallbackdataext IRIX set a user data pointer
XmListSetItem IRIX A List function that makes an existing item the first visible item in the list
XmListSetItem Tru64 A List function that makes an existing item the first visible item in the list
XmListSetBottomItem Tru64 A List function that makes an existing item the last visible item in the list
XmListSetBottomItem IRIX A List function that makes an existing item the last visible item in the list
XmListSetBottomItem HP-UX A List function that makes an existing item the last visible item in the list
XmListSetItem HP-UX A List function that makes an existing item the first visible item in the list
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service