.\" -*- coding: UTF-8 -*- .\" Copyright (c) Bruno Haible .\" .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA) .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" %%%LICENSE_END .\" .\" References consulted: .\" GNU glibc-2 source code and manual .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html .\" ISO/IEC 9899:1999 .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH WCSNCMP 3 "6 Marzo 2019" GNU "Manual del Programador de Linux" .SH NOMBRE wcsncmp \- compara dos cadenas de caracteres anchos de tamaño fijo .SH SINOPSIS .nf \fB#include \fP .PP \fBint wcsncmp(const wchar_t *\fP\fIs1\fP\fB, const wchar_t *\fP\fIs2\fP\fB, size_t \fP\fIn\fP\fB);\fP .fi .SH DESCRIPCIÓN The \fBwcsncmp\fP() function is the wide\-character equivalent of the \fBstrncmp\fP(3) function. It compares the wide\-character string pointed to by \fIs1\fP and the wide\-character string pointed to by \fIs2\fP, but at most \fIn\fP wide characters from each string. In each string, the comparison extends only up to the first occurrence of a null wide character (L\(aq\e0\(aq), if any. .SH "VALOR DEVUELTO" La función \fBwcscmp\fP() devuelve cero si las cadena de caracteres anchos, truncadas a lo sumo a \fIn\fP caracteres anchos, \fIs1\fP y \fIs2\fP son iguales. Devuelve un entero positivo si en la primera posición diferente \fIi\fP (\fIi\fP < \fIn\fP) el correspondiente carácter ancho \fIs1[i]\fP es mayor que \fIs2[i]\fP. Devuelve un entero negativo si en la pimera posición diferente \fIi\fP (\fIi\fP < \fIn\fP) el correspondiente carácter ancho \fIs1[i]\fP es menor que \fIs2[i]\fP. .SH ATRIBUTOS Para obtener una explicación de los términos usados en esta sección, véase \fBattributes\fP(7). .TS allbox; lb lb lb l l l. Interfaz Atributo Valor T{ \fBwcsncmp\fP() T} Seguridad del hilo Multi\-hilo seguro .TE .SH "CONFORME A" POSIX.1\-2001, POSIX.1\-2008, C99. .SH "VÉASE TAMBIÉN" \fBstrncmp\fP(3), \fBwcsncasecmp\fP(3) .SH COLOFÓN Esta página es parte de la versión 5.10 del proyecto Linux \fIman\-pages\fP. Puede encontrar una descripción del proyecto, información sobre cómo informar errores y la última versión de esta página en \%https://www.kernel.org/doc/man\-pages/. .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Pedro Pablo Fábrega y Juan Piernas . Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org>. .ME .