.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993, David Metcalfe .\" Copyright, the authors of the Linux man-pages project .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH strxfrm 3 "8 février 2026" "Pages du manuel de Linux 6.18" .SH NOM strxfrm \- Transformation de chaînes .SH BIBLIOTHÈQUE Bibliothèque C standard (\fIlibc\fP,\ \fI\-lc\fP) .SH SYNOPSIS .nf \fB#include \fP .P \fBsize_t strxfrm(\fPsize_t size; \fB char \fP\fIdest\fP\fB[restrict \fP\fIsize\fP\fB], const char \fP\fIsrc\fP\fB[restrict \fP\fIsize\fP\fB],\fP \fB size_t \fP\fIsize\fP\fB);\fP .fi .SH DESCRIPTION The \fBstrxfrm\fP() function transforms the \fIsrc\fP string into a form such that the result of \fBstrcmp\fP(3) on two strings that have been transformed with \fBstrxfrm\fP() is the same as the result of \fBstrcoll\fP(3) on the two strings before their transformation. The first \fIsize\fP bytes of the transformed string are placed in \fIdest\fP. The transformation is based on the program's current locale for category \fBLC_COLLATE\fP. (See \fBsetlocale\fP(3)). .SH "VALEUR RENVOYÉE" The \fBstrxfrm\fP() function returns the number of bytes required to store the transformed string in \fIdest\fP excluding the terminating null byte (\[aq]\[rs]0\[aq]). If the value returned is \fIsize\fP or more, the contents of \fIdest\fP are indeterminate. .SH ATTRIBUTS Pour une explication des termes utilisés dans cette section, consulter \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interface Attribut Valeur T{ .na .nh \fBstrxfrm\fP() T} Sécurité des threads MT\-Safe locale .TE .SH NORMES C11, POSIX.1\-2008. .SH HISTORIQUE POSIX.1\-2001, C89, SVr4, 4.3BSD. .SH "VOIR AUSSI" \fBmemcmp\fP(3), \fBsetlocale\fP(3), \fBstrcasecmp\fP(3), \fBstrcmp\fP(3), \fBstrcoll\fP(3), \fBstring\fP(3) .PP .SH TRADUCTION La traduction française de cette page de manuel a été créée par Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot et Frédéric Hantrais . .PP Cette traduction est une documentation libre ; veuillez vous reporter à la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 .UE concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE. .PP Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à .MT debian-l10n-french@lists.debian.org .ME .