1keybound(3X)                                                      keybound(3X)
2
3
4

NAME

6       keybound - return definition of keycode
7

SYNOPSIS

9       #include <curses.h>
10
11       char * keybound(int keycode, int count);
12

DESCRIPTION

14       This  is an extension to the curses library.  It permits an application
15       to determine the string which is defined in the terminfo  for  specific
16       keycodes.
17

RETURN VALUE

19       The keycode parameter must be greater than zero, else NULL is returned.
20       If it does not correspond to a defined key, then NULL is returned.  The
21       count  parameter  is  used  to allow the application to iterate through
22       multiple definitions, counting from zero.  When successful,  the  func‐
23       tion returns a string which must be freed by the caller.
24

PORTABILITY

26       These  routines  are  specific  to ncurses.  They were not supported on
27       Version 7, BSD or System V implementations.  It is recommended that any
28       code depending on them be conditioned using NCURSES_VERSION.
29

SEE ALSO

31       define_key(3X), keyok(3X).
32

AUTHOR

34       Thomas Dickey.
35
36
37
38                                                                  keybound(3X)
Impressum