The OpenNET Project / Index page

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

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

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

wctrans (3)
  • wctrans (3) ( Solaris man: Библиотечные вызовы )
  • >> wctrans (3) ( FreeBSD man: Библиотечные вызовы )
  • wctrans (3) ( Русские man: Библиотечные вызовы )
  • wctrans (3) ( Linux man: Библиотечные вызовы )
  • wctrans (3) ( POSIX man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    towctrans , wctrans
    
     - wide character mapping functions
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

       #include <wctype.h>
    wint_t towctrans (wint_t wc wctrans_t desc);
    wctrans_t wctrans (const char *charclass);
     

    DESCRIPTION

    The wctrans ();
    function returns a value of type Vt wctrans_t which represents the requested wide character mapping operation and may be used as the second argument for calls to towctrans (.);

    The following character mapping names are recognised:

    tolower       toupper

    The
    towctrans ();
    function transliterates the wide character Fa wc according to the mapping described by Fa desc .  

    RETURN VALUES

    The towctrans ();
    function returns the transliterated character if successful, otherwise it returns the character unchanged and sets errno

    The wctrans ();
    function returns non-zero if successful, otherwise it returns zero and sets errno  

    EXAMPLES

    Reimplement towupper ();
    in terms of towctrans ();
    and wctrans (:);
    wint_t
    mytowupper(wint_t wc)
    {
            return (towctrans(wc, wctrans("toupper")));
    }
    
     

    ERRORS

    The towctrans ();
    function will fail if:

    Bq Er EINVAL
    The supplied Fa desc argument is invalid.

    The wctrans ();
    function will fail if:

    Bq Er EINVAL
    The requested mapping name is invalid.

     

    SEE ALSO

    tolower(3), toupper(3), wctype(3)  

    STANDARDS

    The towctrans ();
    and wctrans ();
    functions conform to St -p1003.1-2001 .  

    HISTORY

    The towctrans ();
    and wctrans ();
    functions first appeared in Fx 5.0 .


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    EXAMPLES
    ERRORS
    SEE ALSO
    STANDARDS
    HISTORY


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




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

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