~ubuntu-branches/ubuntu/natty/ncurses/natty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-17 09:00:42 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517090042-86fgxrr6j5jzagot
Tags: 5.6-0ubuntu1
* New upstream version.
  - Remove patches applied upstream: ncurses.upstream, signed-chars.
  - Update patches: debian-backspace.
* Build-depend on g++-multilib instead of lib{32,64}c*-dev-*.

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: mitem_userptr.3x,v 1.6 1998/11/29 01:12:47 Rick.Ohnemus Exp @
 
31
  * @Id: mitem_userptr.3x,v 1.9 2006/11/04 18:21:03 tom Exp @
32
32
-->
33
33
<HTML>
34
34
<HEAD>
68
68
 
69
69
</PRE>
70
70
<H2>RETURN VALUE</H2><PRE>
71
 
       Except  for  <STRONG>item_userptr</STRONG>  (which  returns <STRONG>NULL</STRONG> on error),
72
 
       each function returns one of the following:
73
 
 
74
 
       <STRONG>E_OK</STRONG> The routine succeeded.
75
 
 
76
 
       <STRONG>E_SYSTEM_ERROR</STRONG>
77
 
            System error occurred (see <STRONG>errno</STRONG>).
 
71
       The  function  <STRONG>item_userptr</STRONG>  returns  a  pointer (possibly
 
72
       <STRONG>NULL</STRONG>).  It does not set errno.
 
73
 
 
74
       The <STRONG>set_item_userptr</STRONG> always returns <STRONG>E_OK</STRONG> (success).
78
75
 
79
76
 
80
77
</PRE>
93
90
       These  routines  emulate  the System V menu library.  They
94
91
       were not supported on Version 7 or BSD versions.
95
92
 
96
 
       The user pointer should be a void pointer.  We leave it as
97
 
       a char pointer for SVr4 compatibility.
 
93
       The user pointer is a void pointer.  We chose not to leave
 
94
       it as a char pointer for SVr4 compatibility.
98
95
 
99
96
 
100
97
</PRE>