The keyname routine is used to return the character string for a key.
Syntax |
|
#include <curses.h>
char *keyname(int c);
|
Parameters |
|
- c
The key for which to get the name.
Return Values |
|
None
Description |
|
The keyname() routine returns a string pointer to the key name. Make a duplicate of the returned string if you plan to modify it.
Implementation Considerations |
|
UNIX System V implementation
Portability |
|
UNIX System V