]> ncurses.scripts.mit.edu Git - ncurses.git/blob - man/mitem_name.3x
dcce6990aab265f9104883d2dd2fb9f5de065db2
[ncurses.git] / man / mitem_name.3x
1 '\" t
2 .TH mitem_name 3X ""
3 .SH NAME
4 \fBmitem_name\fR - get menu item name and description fields
5 .SH SYNOPSIS
6 \fB#include <menu.h>\fR
7 .br
8 const char *item_name(const ITEM *item);
9 .br
10 const char *item_description(const ITEM *item);
11 .br
12 .SH DESCRIPTION
13 The function \fBitem_name\fR returns the name part of the given item.
14 .br
15 The function \fBitem_description\fR returns the description part of the given
16 item.
17 .SH RETURN VALUE
18 These routines returns \fBNULL\fR on error.
19 .SH SEE ALSO
20 \fBcurses\fR(3X), \fBmenu\fR(3X).
21 .SH NOTES
22 The header file \fB<menu.h>\fR automatically includes the header file
23 \fB<curses.h>\fR.
24 .SH PORTABILITY
25 These routines emulate the System V menu library.  They were not supported on
26 Version 7 or BSD versions.
27 .SH AUTHORS
28 Juergen Pfeifer.  Manual pages and adaptation for new curses by Eric
29 S. Raymond.
30 .\"#
31 .\"# The following sets edit modes for GNU EMACS
32 .\"# Local Variables:
33 .\"# mode:nroff
34 .\"# fill-column:79
35 .\"# End: