'\" te
.\" Copyright 1989 AT&T
.\" Portions Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved.
.TH menu_item_name 3CURSES "31 Dec 1996" "SunOS 5.11" "Curses Library Functions"
.SH NAME
menu_item_name, item_name, item_description \- get menus item name and description
.SH SYNOPSIS
.LP
.nf
\fBcc\fR [ \fIflag\fR ... ] \fIfile\fR ... \fB-lmenu\fR \fB -lcurses \fR [ \fIlibrary\fR .. ]
#include
\fBchar *\fR\fBitem_name\fR(\fBITEM *\fR\fIitem\fR);
.fi
.LP
.nf
\fBchar *\fR\fBitem_description\fR(\fBITEM *\fR\fIitem\fR);
.fi
.SH DESCRIPTION
.sp
.LP
\fBitem_name()\fR returns a pointer to the name of \fIitem\fR.
.sp
.LP
\fBitem_description()\fR returns a pointer to the description of \fIitem\fR.
.SH RETURN VALUES
.sp
.LP
These routines return \fBNULL\fR on error.
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i)
lw(2.75i) |lw(2.75i)
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
MT-LevelUnsafe
.TE
.SH SEE ALSO
.sp
.LP
\fBcurses\fR(3CURSES), \fBmenus\fR(3CURSES), \fBmenu_new\fR(3CURSES), \fBattributes\fR(5)
.SH NOTES
.sp
.LP
The header \fB\fR automatically includes the headers \fB\fR and \fB\fR\&.