X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fkey_defined.3x.html;h=664c5634e6980bccf0ab5287698cb94b34c15252;hp=46f021e76fc1c3a791e4660a79b52eed91ee3e14;hb=3eda6f30a84d53844d2ebceadb457e2e7e9cfbf3;hpb=71c0306f0824ef2b10c4c5813fb003db48f3012e diff --git a/doc/html/man/key_defined.3x.html b/doc/html/man/key_defined.3x.html index 46f021e7..664c5634 100644 --- a/doc/html/man/key_defined.3x.html +++ b/doc/html/man/key_defined.3x.html @@ -1,4 +1,3 @@ - +
+ +- 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)-