~ubuntu-branches/debian/sid/ncurses/sid-200908151543

« back to all changes in this revision

Viewing changes to doc/html/man/menu_new.3x.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-12-14 21:06:00 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081214210600-2rdjwvpplgvh3zeb
Tags: 5.7+20081213-1
MergingĀ upstreamĀ versionĀ 5.7+20081213.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!-- 
3
3
  * t
4
4
  ****************************************************************************
5
 
  * Copyright (c) 1998 Free Software Foundation, Inc.                        *
 
5
  * Copyright (c) 1998,2006 Free Software Foundation, Inc.                   *
6
6
  *                                                                          *
7
7
  * Permission is hereby granted, free of charge, to any person obtaining a  *
8
8
  * copy of this software and associated documentation files (the            *
28
28
  * sale, use or other dealings in this Software without prior written       *
29
29
  * authorization.                                                           *
30
30
  ****************************************************************************
31
 
  * @Id: menu_new.3x,v 1.7 1998/11/29 01:10:13 Rick.Ohnemus Exp @
 
31
  * @Id: menu_new.3x,v 1.9 2006/11/04 18:31:37 tom Exp @
32
32
-->
33
33
<HTML>
34
34
<HEAD>
70
70
 
71
71
</PRE>
72
72
<H2>RETURN VALUE</H2><PRE>
73
 
       The function <STRONG>new_menu</STRONG> returns <STRONG>NULL</STRONG> on error.
 
73
       The function <STRONG>new_menu</STRONG> returns  <STRONG>NULL</STRONG>  on  error.   It  sets
 
74
       errno according to the function's failure:
 
75
 
 
76
       <STRONG>E_NOT_CONNECTED</STRONG>
 
77
            No items are connected to the menu.
 
78
 
 
79
       <STRONG>E_SYSTEM_ERROR</STRONG>
 
80
            System error occurred, e.g., malloc failure.
74
81
 
75
82
       The function <STRONG>free_menu</STRONG> returns one of the following:
76
83
 
80
87
            System error occurred (see <STRONG>errno</STRONG>).
81
88
 
82
89
       <STRONG>E_BAD_ARGUMENT</STRONG>
83
 
            Routine detected an incorrect or  out-of-range  argu-
 
90
            Routine  detected  an incorrect or out-of-range argu-
84
91
            ment.
85
92
 
86
93
       <STRONG>E_POSTED</STRONG>
100
107
 
101
108
</PRE>
102
109
<H2>PORTABILITY</H2><PRE>
103
 
       These routines emulate the System V  menu  library.   They
 
110
       These  routines  emulate  the System V menu library.  They
104
111
       were not supported on Version 7 or BSD versions.
105
112
 
106
113
 
107
114
</PRE>
108
115
<H2>AUTHORS</H2><PRE>
109
 
       Juergen  Pfeifer.   Manual  pages  and  adaptation for new
 
116
       Juergen Pfeifer.  Manual  pages  and  adaptation  for  new
110
117
       curses by Eric S. Raymond.
111
118
 
112
119