X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmenu_requestname.3x.html;h=fb4ab3aba680b20a7bce3252a6638e3167c354a8;hb=29a36e53e1f77a0c3672f2e267d573823d6a9a60;hp=fa475d1b6b5411648bab40d40f1c2fbeb583d01a;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01;p=ncurses.git diff --git a/doc/html/man/menu_requestname.3x.html b/doc/html/man/menu_requestname.3x.html index fa475d1b..fb4ab3ab 100644 --- a/doc/html/man/menu_requestname.3x.html +++ b/doc/html/man/menu_requestname.3x.html @@ -1,8 +1,7 @@ - +
+ +- +menu_requestname(3x) menu_requestname(3x) --
- menu_requestname - handle printable menu request names --
+ +
+ menu_request_by_name, menu_request_name - handle printable + menu request names + + +
#include <menu.h> const char *menu_request_name(int request); int menu_request_by_name(const char *name); --
- The function menu_request_name returns the printable name +
+ The function menu_request_name returns the printable name of a menu request code. - The function menu_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. + The function menu_request_by_name searches in the name-ta- + ble for a request with the given name and returns its + request code. Otherwise E_NO_MATCH is returned. --
- menu_request_name returns NULL on error and sets errno to +
+ menu_request_name returns NULL on error and sets errno to E_BAD_ARGUMENT. - menu_request_by_name returns E_NO_MATCH on error. + menu_request_by_name returns E_NO_MATCH on error. It does + not set errno. --
+
curses(3x), menu(3x). --
+
The header file <menu.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 con- ditioned using NCURSES_VERSION. --
+
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. - - - - - - - - - - - - - - - + menu_requestname(3x)-