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

NAME

6       form_requestname - handle printable form request names
7

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

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

NOTES

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

PORTABILITY

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

AUTHORS

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