1form_requestname(3X)                                      form_requestname(3X)
2
3
4

NAME

6       form_request_by_name, form_request_name - handle printable form request
7       names
8

SYNOPSIS

10       #include <form.h>
11       const char *form_request_name(int request);
12       int form_request_by_name(const char *name);
13

DESCRIPTION

15       The function form_request_name returns the printable  name  of  a  form
16       request code.
17       The  function  form_request_by_name  searches  in  the name-table for a
18       request with the given name and returns  its  request  code.  Otherwise
19       E_NO_MATCH is returned.
20

RETURN VALUE

22       form_request_name  returns  NULL on error and sets errno to E_BAD_ARGU‐
23       MENT.
24       form_request_by_name returns E_NO_MATCH on  error.   It  does  not  set
25       errno.
26

SEE ALSO

28       curses(3X), form(3X).
29

NOTES

31       The  header  file  <form.h>  automatically  includes  the  header  file
32       <curses.h>.
33

PORTABILITY

35       These routines are specific to ncurses.  They  were  not  supported  on
36       Version 7, BSD or System V implementations.  It is recommended that any
37       code depending on them be conditioned using NCURSES_VERSION.
38

AUTHORS

40       Juergen Pfeifer.  Manual pages and adaptation for new curses by Eric S.
41       Raymond.
42
43
44
45                                                          form_requestname(3X)
Impressum