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
12       const char *form_request_name(int request);
13       int form_request_by_name(const char *name);
14

DESCRIPTION

16   form_request_name
17       The function form_request_name returns the printable name of a form re‐
18       quest code.
19
20   form_request_name_by_name
21       The  function form_request_by_name searches in the name-table for a re‐
22       quest with the given name and  returns  its  request  code.   Otherwise
23       E_NO_MATCH is returned.
24

RETURN VALUE

26       form_request_name  returns  NULL on error and sets errno to E_BAD_ARGU‐
27       MENT.
28
29       form_request_by_name returns E_NO_MATCH on error.  It does not set  er‐
30       rno.
31

SEE ALSO

33       curses(3X), form(3X).
34

NOTES

36       The  header  file  <form.h>  automatically  includes  the  header  file
37       <curses.h>.
38

PORTABILITY

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

AUTHORS

45       Juergen Pfeifer.  Manual pages and adaptation for new curses by Eric S.
46       Raymond.
47
48
49
50                                                          form_requestname(3X)
Impressum