@node strxfrm, locale @findex strxfrm @subheading Syntax @example #include size_t strxfrm(char *s1, const char *s2, size_t max); @end example @subheading Description This copies characters from @var{s2} to @var{s1}, which must be able to hold @var{max} characters. Each character is transformed according to the locale such that @code{strcmp(s1b, s2b)} is just like @code{strcoll(s1, s2)} where @code{s1b} and @code{s2b} are the transforms of @code{s1} and @code{s2}. @subheading Return Value The actual number of bytes required to transform @var{s2}, including the @code{NULL}. @subheading Portability @portability ansi, posix