key_defined

NAME
define_key - define a keycode SYNOPSIS
#include <curses.h> int key_defined(const char *definition); DESCRIPTION
This is an extension to the curses library. It permits an application to determine if a string is currently bound to any keycode. RETURN VALUE
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. PORTABILITY
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 conditioned using NCURSES_VERSION. SEE ALSO
define_key(3X). AUTHOR
Thomas Dickey. key_defined(3X)

manual pages:

3 A B C D E F G H I L M N O P Q R S T U W X _
a b c d e f g h i j k l m n o p q r s t u v w x y z



www.osxterminal.com is a website by Andreas Wacker