X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fmitem_new.3x;h=ce52044f128052e50e03cf1d08aa3aca1073a18f;hp=bc160f8c5b21f103963021504ad1565a414194a7;hb=5925150381bb42a4d8c7116d62c348a7b84309f3;hpb=f44733b760290aa8f51c6c9e1e463254833bffcd;ds=sidebyside diff --git a/man/mitem_new.3x b/man/mitem_new.3x index bc160f8c..ce52044f 100644 --- a/man/mitem_new.3x +++ b/man/mitem_new.3x @@ -28,17 +28,17 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: mitem_new.3x,v 1.17 2020/03/28 19:06:28 tom Exp $ +.\" $Id: mitem_new.3x,v 1.19 2020/10/18 00:37:03 tom Exp $ .TH mitem_new 3X "" .SH NAME \fBnew_item\fP, \fBfree_item\fR \- create and destroy menu items .SH SYNOPSIS \fB#include \fR +.sp +\fBITEM *new_item(const char *\fP\fIname\fP\fB, const char *\fP\fIdescription\fP\fB);\fP .br -ITEM *new_item(const char *name, const char *description); -.br -int free_item(ITEM *item); +\fBint free_item(ITEM *\fP\fIitem\fP\fB);\fP .br .SH DESCRIPTION The function \fBnew_item\fR allocates a new item and initializes it from the