X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fform_requestname.3x.html;h=b8c23062e0cafe6ea471db265dac7e592bcedff6;hp=fbe3279fe5c66ce36c136b93ff1d3cfaef4b2c55;hb=a6eb34d7fec8170a8715f9e53ca2f96452dd30dd;hpb=e5d1530ca229aef94a3c84ad33f8ae89f35c4045 diff --git a/doc/html/man/form_requestname.3x.html b/doc/html/man/form_requestname.3x.html index fbe3279f..b8c23062 100644 --- a/doc/html/man/form_requestname.3x.html +++ b/doc/html/man/form_requestname.3x.html @@ -28,7 +28,7 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: form_requestname.3x,v 1.14 2020/10/17 23:08:23 tom Exp @ + * @Id: form_requestname.3x,v 1.16 2020/12/12 16:37:14 tom Exp @ --> @@ -55,21 +55,27 @@
#include <form.h> - const char *form_request_name(int request); - int form_request_by_name(const char *name); + const char *form_request_name(int request); + int form_request_by_name(const char *name);
+ +
The function form_request_name returns the printable name of a form request code. + + +
The function form_request_by_name searches in the name-table for a request with the given name and returns its request code. Otherwise E_NO_MATCH is returned.
- form_request_name returns NULL on error and sets errno to E_BAD_ARGU- - MENT. + form_request_name returns NULL on error and sets errno to + E_BAD_ARGUMENT. + form_request_by_name returns E_NO_MATCH on error. It does not set errno. @@ -101,7 +107,12 @@