NAME mitem_userptr - associate application data with a menu item CONTENTS Synopsis Description Return Value See Also Notes Portability Authors SYNOPSIS #include <menu.h> int set_item_userptr(ITEM *item, void *userptr); void *item_userptr(const ITEM *item); DESCRIPTION Every menu item has a field that can be used to hold application-specific data (that is, the menu-driver code leaves it alone). These functions get and set that field. RETURN VALUE Except for item_userptr (which returns NULL on error), each function returns one of the following: