NAME |SYNOPSIS |DESCRIPTION |RETURN VALUE |SEE ALSO |NOTES |PORTABILITY |AUTHORS |COLOPHON | |
form_requestname(3X)form_requestname(3X)form_request_by_name,form_request_name- handle printable form request names
#include <form.h>const char *form_request_name(intrequest);int form_request_by_name(const char *name);
form_request_name The functionform_request_namereturns the printable name of a form request code.form_request_name_by_name The functionform_request_by_namesearches in the name-table for a request with the given name and returns its request code. Otherwise E_NO_MATCH is returned.
form_request_namereturnsNULLon error and setserrnotoE_BAD_ARGUMENT.form_request_by_namereturnsE_NO_MATCHon error. It does not seterrno.
curses(3X),form(3X).
The header file<form.h>automatically includes the header file<curses.h>.
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 conditioned using NCURSES_VERSION.
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
This page is part of thencurses (new curses) project. Information about the project can be found at ⟨https://www.gnu.org/software/ncurses/ncurses.html⟩. If you have a bug report for this manual page, send it to bug-ncurses-request@gnu.org. This page was obtained from the project's upstream Git mirror of the CVS repository ⟨https://github.com/mirror/ncurses.git⟩ on 2025-08-11. (At that time, the date of the most recent commit that was found in the repository was 2023-03-12.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which isnot part of the original manual page), send a mail to man-pages@man7.orgform_requestname(3X)HTML rendering created 2025-09-06 byMichael Kerrisk, author ofThe Linux Programming Interface. For details of in-depthLinux/UNIX system programming training courses that I teach, lookhere. Hosting byjambit GmbH. | ![]() |