strxfrm(3) Library Functions Manual strxfrm(3) NOM strxfrm - Transformation de chaines BIBLIOTHEQUE Bibliotheque C standard (libc, -lc) SYNOPSIS #include size_t strxfrm(size_t size; char dest[restrict size], const char src[restrict size], size_t size); DESCRIPTION The strxfrm() function transforms the src string into a form such that the result of strcmp(3) on two strings that have been transformed with strxfrm() is the same as the result of strcoll(3) on the two strings before their transformation. The first size bytes of the transformed string are placed in dest. The transformation is based on the program's current locale for category LC_COLLATE. (See setlocale(3)). VALEUR RENVOYEE The strxfrm() 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 size or more, the contents of dest are indeterminate. ATTRIBUTS Pour une explication des termes utilises dans cette section, consulter attributes(7). +--------------------------+--------------------------+----------------+ |Interface | Attribut | Valeur | +--------------------------+--------------------------+----------------+ |strxfrm() | Securite des threads | MT-Safe locale | +--------------------------+--------------------------+----------------+ NORMES C11, POSIX.1-2008. HISTORIQUE POSIX.1-2001, C89, SVr4, 4.3BSD. VOIR AUSSI memcmp(3), setlocale(3), strcasecmp(3), strcmp(3), strcoll(3), string(3) TRADUCTION La traduction francaise de cette page de manuel a ete creee par Christophe Blaess , Stephan Rafin , Thierry Vignaud , Francois Micaux, Alain Portal , Jean-Philippe Guerard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas Francois , Florentin Duneau , Simon Paillard , Denis Barbier , David Prevot et Frederic Hantrais Cette traduction est une documentation libre ; veuillez vous reporter a la GNU General Public License version 3 concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITE LEGALE. Si vous decouvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message a . Pages du manuel de Linux 6.18 8 fevrier 2026 strxfrm(3)