- 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>.
+ <STRONG>keyok</STRONG> returns <STRONG>ERR</STRONG> if
+
+ <STRONG>o</STRONG> <EM>key-code</EM> is nonpositive,
+
+ <STRONG>o</STRONG> <EM>key-code</EM> is not a recognized value, or
+
+ <STRONG>o</STRONG> enablement of <EM>key-code</EM> is already in the desired state.
+
+ Otherwise, <STRONG>keyok</STRONG> returns <STRONG>OK</STRONG>.
+
+
+</PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE>
+ <STRONG>keyok</STRONG> is an <EM>ncurses</EM> extension.