The keyname routine is used to return the character string for a key.
Syntax |
![](../../img/s.gif) |
#include <curses.h>
char *keyname(int c);
|
Parameters |
![](../../img/s.gif) |
- c
The key for which to get the name.
Return Values |
![](../../img/s.gif) |
None
Description |
![](../../img/s.gif) |
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 |
![](../../img/s.gif) |
UNIX System V implementation
Portability |
![](../../img/s.gif) |
UNIX System V