2 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .\" References consulted:
7 .\" Linux libc source code
8 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
10 .\" Modified Sun Jul 25 10:41:28 1993 by Rik Faith (faith@cs.unc.edu)
11 .TH strxfrm 3 (date) "Linux man-pages (unreleased)"
13 strxfrm \- string transformation
16 .RI ( libc ", " \-lc )
19 .B #include <string.h>
21 .BI "size_t strxfrm(char " dest "[restrict ." n "], \
22 const char " src "[restrict ." n ],
28 function transforms the
31 form such that the result of
33 on two strings that have
36 is the same as the result of
38 on the two strings before their transformation.
41 bytes of the transformed string are placed in
43 The transformation is based on the program's current
51 function returns the number of bytes required to
52 store the transformed string in
55 terminating null byte (\[aq]\e0\[aq]).
56 If the value returned is
63 For an explanation of the terms used in this section, see
71 Interface Attribute Value
74 T} Thread safety MT-Safe locale
82 POSIX.1-2001, C89, SVr4, 4.3BSD.