strxfrm
Table des matières
Retour à l'index
NOM
strxfrm - Transformation de chaînes
BIBLIOTHÈQUE
Bibliothèque C standard (libc, -lc)
SYNOPSIS
#include <string.h>
size_t strxfrm(char dest[restrict .n], const char src[restrict .n],
size_t n);
DESCRIPTION
La fonction strxfrm() transforme la chaîne src de telle manière que le
résultat de strcmp(3) sur deux chaînes ayant été modifiées par
strxfrm() soit le même que le résultat de strcoll(3) sur les deux
chaînes avant leur transformation. Les n premiers octets de la chaîne
transformée sont placés dans dest. La transformation est effectuée en
considérant la catégorie LC_COLLATE de la localisation en cours
(consultez setlocale(3)).
VALEUR RENVOYÉE
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 n or more, the contents of
dest are indeterminate.
ATTRIBUTS
Pour une explication des termes utilisés dans cette section, consulter
attributes(7).
| Interface | Attribut | Valeur
|
|
strxfrm()
| Sécurité des threads | MT-Safe locale
|
STANDARDS
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 française de cette page de manuel a été créée par
Christophe Blaess <https://www.blaess.fr/christophe/>,
Stéphan Rafin <stephan.rafin@laposte.net>,
Thierry Vignaud <tvignaud@mandriva.com>,
François Micaux,
Alain Portal <aportal@univ-montp2.fr>,
Jean-Philippe Guérard <fevrier@tigreraye.org>,
Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>,
Julien Cristau <jcristau@debian.org>,
Thomas Huriaux <thomas.huriaux@gmail.com>,
Nicolas François <nicolas.francois@centraliens.net>,
Florentin Duneau <fduneau@gmail.com>,
Simon Paillard <simon.paillard@resel.enst-bretagne.fr>,
Denis Barbier <barbier@debian.org>,
David Prévot <david@tilapin.org>
et
Frédéric Hantrais <fhantrais@gmail.com>
Cette traduction est une documentation libre ; veuillez vous reporter à la
GNU General Public License version 3
concernant les conditions de copie et
de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.
Si vous découvrez un bogue dans la traduction de cette page de manuel,
veuillez envoyer un message à
Index
- NOM
-
- BIBLIOTHÈQUE
-
- SYNOPSIS
-
- DESCRIPTION
-
- VALEUR RENVOYÉE
-
- ATTRIBUTS
-
- STANDARDS
-
- HISTORIQUE
-
- VOIR AUSSI
-
- TRADUCTION
-
This document was created by
man2html,
using the manual pages.
Time: 05:06:27 GMT, September 19, 2025