strxfrm(3) Library Functions Manual strxfrm(3)
Name
strxfrm - string transformation
Syntax
size_t strxfrm (to, from, maxsize)
char *to;
char *from;
size_t maxsize;
Description
The function transforms the string pointed to by from and places the resulting string into the array pointed to by to. The transformation
is such that two transformed strings can be ordered by the function as appropriate to the program's locale category
The length of the resulting string may be much longer than the original. No more than characters are placed into the resulting string
including the terminator. If the transformed string does not exceed characters, the number of characters (less the terminator) is
returned. Otherwise the number of characters (less the terminator) in the transformed string is returned and the contents of the array are
undefined.
International Environment
LC_COLLATE Contains the user requirements for language, territory, and codeset for the character collation format. affects the behav-
ior of regular expressions and the string collation functions in If is not defined in the current environment, provides the
necessary default.
LANG If this environment is set and valid, uses the international language database named in the definition to determine the
character collation formatting rules. If is defined, its definition supercedes the definition of
See Also
string(3), setlocale(3), strcoll(3), environ(5int)
strxfrm(3)