keyok(3x) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

keyok(3x)

keyok(3x)                        Library calls                       keyok(3x)

NAME
       keyok - enable or disable a curses function key code

SYNOPSIS
       #include <ncursesw/curses.h>

       int keyok(int key-code, bool bf);

DESCRIPTION
       The  keyok  ncurses extension permits a curses application to disable a
       function key key-code returned by wgetch(3X) (wide-character API users:
       wget_wch(3X)).  Key codes that have been disabled  can  be  re-enabled.
       bf selects the desired enablement status.  This operation is more fine-
       grained than calling keypad(3X), which affects all function keys.

RETURN VALUE
       keyok returns ERR if

       •   key-code is nonpositive,

       •   key-code is not a recognized value, or

       •   enablement of key-code is already in the desired state.

       Otherwise, keyok returns OK.

EXTENSIONS
       keyok is an ncurses extension.

PORTABILITY
       Applications employing ncurses extensions should condition their use on
       the visibility of the NCURSES_VERSION preprocessor macro.

       NetBSD curses since 2.0 (2004) supports keyok.

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), keybound(3X), keyok(3X), key_defined(3X)



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-07-27                         keyok(3x)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3