-<!--
+<!--
****************************************************************************
* Copyright 2018,2020 Thomas E. Dickey *
* Copyright 1998-2010,2017 Free Software Foundation, Inc. *
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>keyok 3x</TITLE>
+<TITLE>keyok 3X</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</HEAD>
<BODY>
-<H1 class="no-header">keyok 3x</H1>
+<H1 class="no-header">keyok 3X</H1>
<PRE>
-<STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG> <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>
+<B><A HREF="keyok.3X.html">keyok(3X)</A></B> <B><A HREF="keyok.3X.html">keyok(3X)</A></B>
</PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
- <STRONG>keyok</STRONG> - enable or disable a keycode
+ <B>keyok</B> - enable or disable a keycode
</PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
- <STRONG>#include</STRONG> <STRONG><curses.h></STRONG>
+ <B>#include</B> <B><curses.h></B>
- <STRONG>int</STRONG> <STRONG>keyok(int</STRONG> <EM>keycode</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>enable</EM><STRONG>);</STRONG>
+ <B>int</B> <B>keyok(int</B> <I>keycode</I><B>,</B> <B>bool</B> <I>enable</I><B>);</B>
</PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
This is an extension to the curses library. It permits an application
- to disable specific keycodes, rather than use the <EM>keypad</EM> function to
+ to disable specific keycodes, rather than use the <I>keypad</I> function to
disable all keycodes. Keys that have been disabled can be re-enabled.
</PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
- The keycode must be greater than zero, else <STRONG>ERR</STRONG> is returned. If it
- does not correspond to a defined key, then <STRONG>ERR</STRONG> is returned. If the
- <EM>enable</EM> parameter is true, then the key must have been disabled, and
- vice versa. Otherwise, the function returns <STRONG>OK</STRONG>.
+ The keycode must be greater than zero, else <B>ERR</B> is returned. If it
+ does not correspond to a defined key, then <B>ERR</B> is returned. If the
+ <I>enable</I> parameter is true, then the key must have been disabled, and
+ vice versa. Otherwise, the function returns <B>OK</B>.
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
- <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>.
+ <B><A HREF="define_key.3X.html">define_key(3X)</A></B>.
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
- <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>
+ <B><A HREF="keyok.3X.html">keyok(3X)</A></B>
</PRE>
<div class="nav">
<ul>