The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

keyname (3)
  • >> keyname (3) ( Solaris man: Библиотечные вызовы )
  • keyname (3) ( FreeBSD man: Библиотечные вызовы )
  •  

    NAME

    keyname, key_name - return character string used as key name
     
    

    SYNOPSIS

    cc [ flag... ] file... -I /usr/xpg4/include  -L  /usr/xpg4/lib \
     -R  /usr/xpg4/lib  -lcurses  [ library... ]
    
    c89 [ flag... ] file... -lcurses [ library... ]
    
    #include <curses.h>
    
    char *keyname(int c);
    

    char *key_name(wchar_t wc);
    

     

    PARAMETERS

    c

    Is an 8 bit-character or a key code.

    wc

    Is a wide character key name.

     

    DESCRIPTION

    The keyname() function returns a string pointer to the key name. Make a duplicate copy of the returned string if you plan to modify it.

    The key_name() function is similar except that it accepts a wide character key name.

    The following table shows the format of the key name based on the input.

    InputFormat of Key Name
    Visible characterThe same character
    Control character
    Meta-character (keyname() only)
    Key value defined in <curses.h> (keyname() only)
    None of the above

    In the preceding table, X can be either a visible character with the high bit cleared or a control character.  

    RETURN VALUES

    On success, these functions return a pointer to the string used as the key's name. Otherwise, they return a null pointer.  

    ERRORS

    None.  

    ATTRIBUTES

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPEATTRIBUTE VALUE

    Interface StabilityStandard

    MT-Level

     

    SEE ALSO

    libcurses(3XCURSES), meta(3XCURSES), attributes(5), standards(5)


     

    Index

    NAME
    SYNOPSIS
    PARAMETERS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    ATTRIBUTES
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру