The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    
    
    wcsxfrm
    
     - transform a wide string under locale
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

       #include <wchar.h>
    size_t wcsxfrm (wchar_t * restrict dst const wchar_t * restrict src size_t n);
     

    DESCRIPTION

    The wcsxfrm ();
    function transforms a null-terminated wide character string pointed to by Fa src according to the current locale collation order then copies the transformed string into Fa dst . No more than Fa n wide characters are copied into Fa dst , including the terminating null character added. If Fa n is set to 0 (it helps to determine an actual size needed for transformation), Fa dst is permitted to be a NULL pointer.

    Comparing two strings using wcscmp ();
    after wcsxfrm ();
    is equivalent to comparing two original strings with wcscoll (.);
     

    RETURN VALUES

    Upon successful completion, wcsxfrm ();
    returns the length of the transformed string not including the terminating null character. If this value is Fa n or more, the contents of Fa dst are indeterminate.  

    SEE ALSO

    setlocale(3), strxfrm(3), wcscmp(3), wcscoll(3)  

    STANDARDS

    The wcsxfrm ();
    function conforms to St -isoC-99 .  

    BUGS

    The current implementation of wcsxfrm ();
    only works in single-byte LC_CTYPE locales, and falls back to using wcsncpy ();
    in locales with extended character sets.

    Comparing two strings using wcscmp ();
    after wcsxfrm ();
    is not always equivalent to comparison with wcscoll (;);
    wcsxfrm ();
    only stores information about primary collation weights into Fa dst , whereas wcscoll ();
    compares characters using both primary and secondary weights.


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    STANDARDS
    BUGS


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




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

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