curses report key name routine
Curses Library (libcurses, -lcurses)
The function keyname
() generates a character string
containing a description of the key specified in
The string is formatted according to the following table:
The return value of keyname
() is a static buffer,
which will be overwritten on a subsequent call.
Curses library complies with the X/Open
Curses specification, part of the Single Unix Specification.
These functions first appeared in NetBSD 2.0