]> ncurses.scripts.mit.edu Git - ncurses.git/blob - doc/html/man/form_requestname.3x.html
ncurses 5.0
[ncurses.git] / doc / html / man / form_requestname.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>form_requestname</B> - handle printable form request names
9
10
11 </PRE>
12 <H2>SYNOPSIS</H2><PRE>
13        <B>#include</B> <B>&lt;form.h&gt;</B>
14        const char *form_request_name(int request);
15        int form_request_by_name(const char *name);
16
17
18 </PRE>
19 <H2>DESCRIPTION</H2><PRE>
20        The  function <B>form_request_name</B> returns the printable name
21        of a form request code.
22        The function <B>form_request_by_name</B> searches  in  the  name-
23        table  for  a  request with the given name and returns its
24        request code. Otherwise E_NO_MATCH is returned.
25
26
27 </PRE>
28 <H2>RETURN VALUE</H2><PRE>
29        <B>form_request_name</B> returns <B>NULL</B> on error and sets errno  to
30        <B>E_BAD_ARGUMENT</B>.
31        <B>form_request_by_name</B> returns <B>E_NO_MATCH</B> on error.
32
33
34 </PRE>
35 <H2>SEE ALSO</H2><PRE>
36        <B><A HREF="ncurses.3x.html">curses(3x)</A></B>, <B><A HREF="form.3x.html">form(3x)</A></B>.
37
38
39 </PRE>
40 <H2>NOTES</H2><PRE>
41        The header file <B>&lt;form.h&gt;</B> automatically includes the header
42        file <B>&lt;curses.h&gt;</B>.
43
44
45 </PRE>
46 <H2>PORTABILITY</H2><PRE>
47        These routines are specific to  ncurses.   They  were  not
48        supported  on  Version 7, BSD or System V implementations.
49        It is recommended that any code depending on them be  con-
50        ditioned using NCURSES_VERSION.
51
52
53 </PRE>
54 <H2>AUTHORS</H2><PRE>
55        Juergen  Pfeifer.   Manual  pages  and  adaptation for new
56        curses by Eric S. Raymond.
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>