WCSXFRM(3)

NAME
7.28 `wcsxfrm'--locale-specific wide-character string transformation

SYNOPSIS
     #include <wchar.h>
     int wcsxfrm(wchar_t *STRA, const wchar_t * STRB, size_t N);

DESCRIPTION
`wcsxfrm' transforms the wide-character string pointed to by STRB to the wide-character string pointed to by STRA, Comparing two transformed wide strings with `wcscmp' should return the same result as comparing the original strings with `wcscoll'. No more than N wide characters are transformed, including the trailing null character.
   If N is 0, STRA may be a NULL pointer.
   The current implementation of `wcsxfrm' simply uses `wcslcpy' and does not support any language-specific transformations.

RETURNS
`wcsxfrm' returns the length of the transformed wide character string. if the return value is greater or equal to N, the content of STRA is undefined.

PORTABILITY
`wcsxfrm' is ISO/IEC 9899/AMD1:1995 (ISO C).

SEE ALSO
wcsxfrm is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.