]> ncurses.scripts.mit.edu Git - ncurses.git/blob - doc/html/man/mitem_name.3x.html
ncurses 5.1
[ncurses.git] / doc / html / man / mitem_name.3x.html
1 <HTML>
2 <BODY>
3 <PRE>
4 <!-- Manpage converted by man2html 3.0.1 -->
5
6 </PRE>
7 <H2>NAME</H2><PRE>
8        <B>mitem_name</B> - get menu item name and description fields
9
10
11 </PRE>
12 <H2>SYNOPSIS</H2><PRE>
13        <B>#include</B> <B>&lt;menu.h&gt;</B>
14        const char *item_name(const ITEM *item);
15        const char *item_description(const ITEM *item);
16
17
18 </PRE>
19 <H2>DESCRIPTION</H2><PRE>
20        The  function <B>item_name</B> returns the name part of the given
21        item.
22        The function <B>item_description</B> returns the description part
23        of the given item.
24
25
26 </PRE>
27 <H2>RETURN VALUE</H2><PRE>
28        These routines returns <B>NULL</B> on error.
29
30
31 </PRE>
32 <H2>SEE ALSO</H2><PRE>
33        <B><A HREF="ncurses.3x.html">curses(3x)</A></B>, <B><A HREF="menu.3x.html">menu(3x)</A></B>.
34
35
36 </PRE>
37 <H2>NOTES</H2><PRE>
38        The header file <B>&lt;menu.h&gt;</B> automatically includes the header
39        file <B>&lt;curses.h&gt;</B>.
40
41
42 </PRE>
43 <H2>PORTABILITY</H2><PRE>
44        These routines emulate the System V  menu  library.   They
45        were not supported on Version 7 or BSD versions.
46
47
48 </PRE>
49 <H2>AUTHORS</H2><PRE>
50        Juergen  Pfeifer.   Manual  pages  and  adaptation for new
51        curses by Eric S. Raymond.
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75 </PRE>
76 <HR>
77 <ADDRESS>
78 Man(1) output converted with
79 <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
80 </ADDRESS>
81 </BODY>
82 </HTML>