ncursesw-morphos/Ada95/html/form_requestname.3x.html

73 lines
1.7 KiB
HTML
Raw Normal View History

1997-05-15 12:00:00 +08:00
<HTML>
<BODY BGCOLOR="#99ccbb" TEXT="#000000" LINK="#4060b0" VLINK="#000080" ALINK="#ff4040">
<PRE>
<STRONG>form_requestname</STRONG> - handle printable form request names
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>#include</STRONG> <STRONG>&lt;form.h&gt;</STRONG>
const char *form_request_name(int request);
int form_request_by_name(const char *name);
</PRE>
<H2>DESCRIPTION</H2><PRE>
The function <STRONG>form_request_name</STRONG> returns the printable name
of a form request code.
The function <STRONG>form_request_by_name</STRONG> searches in the name-
table for a request with the given name and returns its
request code. Otherwise E_NO_MATCH is returned.
</PRE>
<H2>RETURN VALUE</H2><PRE>
<STRONG>form_request_name</STRONG> returns <STRONG>NULL</STRONG> on error and sets errno to
<STRONG>E_BAD_ARGUMENT</STRONG>.
<STRONG>form_request_by_name</STRONG> returns <STRONG>E_NO_MATCH</STRONG> on error.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="ncurses.3x.html">curses(3X)</A></STRONG>, <STRONG><A HREF="form.3x.html">form(3X)</A></STRONG>.
</PRE>
<H2>NOTES</H2><PRE>
The header file <STRONG>&lt;form.h&gt;</STRONG> automatically includes the header
file <STRONG>&lt;curses.h&gt;</STRONG>.
</PRE>
<H2>PORTABILITY</H2><PRE>
These routines are specific to ncurses. They were not
supported on Version 7, BSD or System V implementations.
It is recommended that any code depending on them be con-
ditioned using NCURSES_VERSION.
</PRE>
<H2>AUTHORS</H2><PRE>
Juergen Pfeifer. Manual pages and adaptation for new
curses by Eric S. Raymond.
</PRE>
</BODY>
</HTML>