X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fmitem_userptr.3x;h=3c3feb26883ac20867213eb8dd3fe78fa9a7d1c8;hp=e17dbc8db250be8697c8463d0468c96a0f3e8e59;hb=fae162795e065e5901068152e91f2962b6b247f3;hpb=f44733b760290aa8f51c6c9e1e463254833bffcd diff --git a/man/mitem_userptr.3x b/man/mitem_userptr.3x index e17dbc8d..3c3feb26 100644 --- a/man/mitem_userptr.3x +++ b/man/mitem_userptr.3x @@ -28,17 +28,17 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: mitem_userptr.3x,v 1.15 2020/03/28 19:06:28 tom Exp $ +.\" $Id: mitem_userptr.3x,v 1.17 2020/10/18 00:36:16 tom Exp $ .TH mitem_userptr 3X "" .SH NAME \fBset_item_userptr\fP, \fBitem_userptr\fR \- associate application data with a menu item .SH SYNOPSIS \fB#include \fR +.sp +\fBint set_item_userptr(ITEM *\fP\fIitem\fP\fB, void *\fP\fIuserptr\fP\fB);\fP .br -int set_item_userptr(ITEM *item, void *userptr); -.br -void *item_userptr(const ITEM *item); +\fBvoid *item_userptr(const ITEM *\fP\fIitem\fP\fB);\fP .br .SH DESCRIPTION Every menu item has a field that can be used to hold application-specific data