From Cppreference

Jump to: navigation, search
Defined in header <cstring>

size_t strxfrm( const char *dest, const char *src, size_t count );

Transforms the null-terminated character string pointed to by src according to the current locale and copies the first count characters of the transformed string to destination, returning its length. Alternativelly, the function can be used to only retrieve the length, by specifying a null pointer for dest and 0 for count.

[edit] Parameters

dest - pointer to the character string to copy the transformed string to
src - pointer to the null-terminated character string to transform
count - maximum number of characters to transform

[edit] Return value

the length of the transformed string, not including the terminating null-character.

[edit] See also