wcscasecmp(3) | Library Functions Manual | wcscasecmp(3) |
NOM
wcscasecmp, wcsncasecmp - compare two wide-character strings, ignoring case
BIBLIOTHÈQUE
Bibliothèque C standard (libc, -lc)
SYNOPSIS
#include <wchar.h>
int wcscasecmp(const wchar_t *s1, const wchar_t *s2); int wcsncasecmp(const wchar_t s1[.n], const wchar_t s2[.n], size_t n);
wcscasecmp(), wcsncasecmp():
Depuis la glibc 2.10 : _POSIX_C_SOURCE >= 200809L Avant la glibc 2.10 : _GNU_SOURCE
DESCRIPTION
La fonction wcscasecmp() est l'équivalent pour caractères larges de la fonction strcasecmp(3). Elle compare la chaîne de caractères larges pointée par s1 avec celle pointée par s2, en ignorant les différences de casse (towupper(3), towlower(3)).
The wcsncasecmp() function is similar (the wide-character equivalent of strncasecmp(3)), except that it compares no more than n wide characters of s1 and s2.
VALEUR RENVOYÉE
The wcscasecmp() and wcsncasecmp() functions return an integer less than, equal to, or greater than zero if s1 is, after ignoring case, found to be less than, to match, or be greater than s2, respectively.
ATTRIBUTS
Pour une explication des termes utilisés dans cette section, consulter attributes(7).
Interface | Attribut | Valeur |
wcscasecmp(), wcsncasecmp() | Sécurité des threads | MT-Safe locale |
STANDARDS
POSIX.1-2008.
HISTORIQUE
glibc 2.1.
NOTES
Le comportement de wcscasecmp() dépend de la catégorie LC_CTYPE de la locale utilisée.
VOIR AUSSI
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>, Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr> et Grégoire Scano <gregoire.scano@malloc.fr>
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 à debian-l10n-french@lists.debian.org.
23 juillet 2024 | Pages du manuel de Linux 6.12 |