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

« back to all changes in this revision

Viewing changes to man/menu_requestname.3x

  • 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:
1
1
'\" t
2
2
.\"***************************************************************************
3
 
.\" Copyright (c) 1998 Free Software Foundation, Inc.                        *
 
3
.\" Copyright (c) 1998,2006 Free Software Foundation, Inc.                   *
4
4
.\"                                                                          *
5
5
.\" Permission is hereby granted, free of charge, to any person obtaining a  *
6
6
.\" copy of this software and associated documentation files (the            *
27
27
.\" authorization.                                                           *
28
28
.\"***************************************************************************
29
29
.\"
30
 
.\" $Id: menu_requestname.3x,v 1.6 1998/11/29 01:10:40 Rick.Ohnemus Exp $
 
30
.\" $Id: menu_requestname.3x,v 1.7 2006/11/04 17:56:09 tom Exp $
31
31
.TH menu_requestname 3X ""
32
32
.SH NAME
33
33
\fBmenu_requestname\fR - handle printable menu request names
43
43
request code.
44
44
.br
45
45
The function \fBmenu_request_by_name\fR searches in the name-table for a request
46
 
with the given name and returns its request code. Otherwise E_NO_MATCH is returned.
 
46
with the given name and returns its request code.
 
47
Otherwise E_NO_MATCH is returned.
47
48
.SH RETURN VALUE
48
 
\fBmenu_request_name\fR returns \fBNULL\fR on error and sets errno
49
 
to \fBE_BAD_ARGUMENT\fR.
 
49
\fBmenu_request_name\fR returns \fBNULL\fR on error
 
50
and sets errno to \fBE_BAD_ARGUMENT\fR.
50
51
.br
51
52
\fBmenu_request_by_name\fR returns \fBE_NO_MATCH\fR on error.
 
53
It does not set errno.
52
54
.SH SEE ALSO
53
55
\fBcurses\fR(3X), \fBmenu\fR(3X).
54
56
.SH NOTES