Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TERMKEY_GET_KEYNAME(3)	   Library Functions Manual	TERMKEY_GET_KEYNAME(3)

NAME
       termkey_get_keyname - return a string name for a	symbolic key

SYNOPSIS
       #include	<termkey.h>

       const char *termkey_get_keyname(TermKey *tk, TermKeySym sym);

       Link with -ltermkey.

DESCRIPTION
       termkey_get_keyname() returns a human-readable string name for the sym-
       bolic key value given by	sym. The  returned  string  is	owned  by  the
       termkey(7) instance tk so should	not be modified	or freed. The returned
       pointer is guaranteed to	be valid until the instance is released	 using
       termkey_destroy(3).  This  function  is	the  inverse  of  termkey_key-
       name2sym(3).

RETURN VALUE
       termkey_get_key() returns a pointer to a	string.

SEE ALSO
       termkey_lookup_keyname(3), termkey_keyname2sym(3),  termkey_strfkey(3),
       termkey(7)

							TERMKEY_GET_KEYNAME(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=termkey_get_keyname&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help