svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
keybound(3x)
keybound(3x) Library calls keybound(3x)
NAME
keybound - get definition of a curses function key code
SYNOPSIS
#include <ncursesw/curses.h>
char * keybound(int key-code, int count);
DESCRIPTION
The keybound ncurses extension permits a curses application to obtain
the value of the string bound to the function key key-code; see
wgetch(3X) (wide-character API users: wget_wch(3X)). By default, such
bindings are string capabilities from the terminfo database entry cor‐
responding to the terminal type. The application can non-destructively
and repeatedly override such definitions with define_key(3X), as if by
pushing new definitions onto a stack. The count parameter accesses the
nth most recently defined binding; 0 selects the binding that is used
on input.
RETURN VALUE
If key-code corresponds to a function key defined by the application or
the terminal type in use, keybound allocates and returns a string that
must be freed by the application. keybound returns NULL if key-code is
not positive or if it does not correspond to a key code definition.
EXTENSIONS
keybound is an ncurses extension.
PORTABILITY
Applications employing ncurses extensions should condition their use on
the visibility of the NCURSES_VERSION preprocessor macro.
AUTHORS
Thomas Dickey
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
box; cbp-1 | cbp-1 l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE = Availabil‐
ity library/ncurses = Stability Uncommitted
SEE ALSO
curses(3X), define_key(3X), keyok(3X), key_defined(3X), terminfo(5)
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at:
https://github.com/oracle/solaris-userland
The original community source was downloaded from:
https://invisible-mirror.net/archives/ncurses/cur‐
rent/ncurses-6.5-20250614.tgz
Further information about this software can be found on the open source
community website at https://invisible-island.net/ncurses/.
ncurses 6.5 2024-12-28 keybound(3x)