X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fhtml%2Fman%2Fkey_defined.3x.html;fp=doc%2Fhtml%2Fman%2Fkey_defined.3x.html;h=664c5634e6980bccf0ab5287698cb94b34c15252;hb=6208c89f98f1cf9fe0980bd8e791846ce007a13d;hp=62d52d18f0d6453d5e2e47c23a7eb9798409f04b;hpb=e3d8d5a5a9425b40e09df86a597c3e971dced9d1;p=ncurses.git diff --git a/doc/html/man/key_defined.3x.html b/doc/html/man/key_defined.3x.html index 62d52d18..664c5634 100644 --- a/doc/html/man/key_defined.3x.html +++ b/doc/html/man/key_defined.3x.html @@ -46,48 +46,41 @@ - -
+
key_defined - check if a keycode is defined --
+
#include <curses.h> int key_defined(const char *definition); --
+
This is an extension to the curses library. It permits an application to determine if a string is currently bound to any keycode. --
+
If the string is bound to a keycode, its value (greater than zero) is returned. If no keycode is bound, zero is returned. If the string conflicts with longer strings which are bound to keys, -1 is returned. --
+
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. --
+
define_key(3x). --
+
Thomas Dickey.