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=62d52d18f0d6453d5e2e47c23a7eb9798409f04b;hb=29a36e53e1f77a0c3672f2e267d573823d6a9a60;hpb=027d0c57c4c4d6690e8d8727888d3282dbe9aa86 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.