strxfrm - string transformation
size_t strxfrm(char *dest, const char *src, size_t n);
() function transforms the src
string into a form such
that the result of strcmp(3)
on two strings that have been transformed
() is the same as the result of strcoll(3)
two strings before their transformation. The first n
bytes of the
transformed string are placed in dest
. The transformation is based on
the program's current locale for category LC_COLLATE
() function returns the number of bytes required to store the
transformed string in dest
excluding the terminating null byte ('\0').
If the value returned is n
or more, the contents of dest
SVr4, 4.3BSD, C89, C99.
In the "POSIX"
is equivalent to copying the string with strncpy(3)
This page is part of release 3.44 of the Linux man-pages
description of the project, and information about reporting bugs, can be found