X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fkey_defined.3x.html;h=664c5634e6980bccf0ab5287698cb94b34c15252;hp=7b1debe1ed9650ba11ddcbb08dc50edba4ad7b95;hb=8e397cccba0aad135cb9a8a353756f4273a7cdf6;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/doc/html/man/key_defined.3x.html b/doc/html/man/key_defined.3x.html index 7b1debe1..664c5634 100644 --- a/doc/html/man/key_defined.3x.html +++ b/doc/html/man/key_defined.3x.html @@ -1,7 +1,6 @@ - +
+ +- key_defined(3x) key_defined(3x) --
+
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. key_defined(3x)-