.\" -*- coding: UTF-8 -*- '\" t .\" Copyright (c) Bruno Haible .\" .\" SPDX-License-Identifier: GPL-2.0-or-later .\" .\" 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 "20 julho 2023" "Linux man\-pages 6.05.01" .SH NOME wcsncmp \- compara duas strings de caracteres largos de tamanho fixo .SH BIBLIOTECA Biblioteca C Padrão (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSE .nf \fB#include \fP .PP \fBint wcsncmp(const wchar_t \fP\fIs1\fP\fB[.\fP\fIn\fP\fB], const wchar_t \fP\fIs2\fP\fB[.\fP\fIn\fP\fB], size_t \fP\fIn\fP\fB);\fP .fi .SH DESCRIÇÃO 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 DE RETORNO" A função \fBwcsncmp\fP() retorna zero se as strings de caracteres largos em \fIs1\fP e \fIs2\fP, truncadas no tamanho máximo \fIn\fP, forem iguais. Retorna um inteiro maior que zero se na primeira posição da diferença \fIi\fP (\fIi\fP < \fIn\fP), o caractere largo correspondente \fIs1[i]\fP for maior que \fIs2[i]\fP. Retorna um inteiro menor que zero se na primeira posição da diferença \fIi\fP (\fIi\fP < \fIn\fP), o caractere largo correspondente \fIs1[i]\fP for menor que \fIs2[i]\fP. .SH ATRIBUTOS Para uma explicação dos termos usados nesta seção, consulte \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interface Atributo Valor T{ .na .nh \fBwcsncmp\fP() T} Thread safety MT\-Safe .TE .sp 1 .SH PADRÕES C11, POSIX.1\-2008. .SH HISTÓRICO POSIX.1\-2001, C99. .SH "VEJA TAMBÉM" \fBstrncmp\fP(3), \fBwcsncasecmp\fP(3) .PP .SH TRADUÇÃO A tradução para português brasileiro desta página man foi criada por Marcelo D. Beckmann , André Luiz Fassone e Rafael Fontenelle . . .PP Esta tradução é uma documentação livre; leia a .UR https://www.gnu.org/licenses/gpl-3.0.html Licença Pública Geral GNU Versão 3 .UE ou posterior para as condições de direitos autorais. Nenhuma responsabilidade é aceita. .PP Se você encontrar algum erro na tradução desta página de manual, envie um e-mail para .MT debian-l10n-portuguese@lists.debian.org a lista de discussão de tradutores .ME .