.\" -*- 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 .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH wcsnlen 3 "20 julho 2023" "Linux man\-pages 6.05.01" .SH NOME wcsnlen \- determina o tamanho de uma string de caracteres largos de tamanho fixo .SH BIBLIOTECA Biblioteca C Padrão (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSE .nf \fB#include \fP .PP \fBsize_t wcsnlen(const wchar_t \fP\fIs\fP\fB[.\fP\fImaxlen\fP\fB], size_t \fP\fImaxlen\fP\fB);\fP .fi .PP .RS -4 Requisitos de macro de teste de recursos para o glibc (consulte \fBfeature_test_macros\fP(7)): .RE .PP \fBwcsnlen\fP(): .nf Desde o glibc 2.10: _POSIX_C_SOURCE >= 200809L Antes do glibc 2.10: _GNU_SOURCE .fi .SH DESCRIÇÃO The \fBwcsnlen\fP() function is the wide\-character equivalent of the \fBstrnlen\fP(3) function. It returns the number of wide\-characters in the string pointed to by \fIs\fP, not including the terminating null wide character (L\[aq]\e0\[aq]), but at most \fImaxlen\fP wide characters (note: this parameter is not a byte count). In doing this, \fBwcsnlen\fP() looks at only the first \fImaxlen\fP wide characters at \fIs\fP and never beyond \fIs[maxlen\-1]\fP. .SH "VALOR DE RETORNO" A função \fBwcsnlen\fP() retorna \fIwcslen(s)\fP, se esse é menor que \fImaxlen\fP, ou \fImaxlen\fP se não houver um caractere largo nul entre os primeiros \fImaxlen\fP caracteres largos apontados por \fIs\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 \fBwcsnlen\fP() T} Thread safety MT\-Safe .TE .sp 1 .SH PADRÕES POSIX.1\-2008. .SH HISTÓRICO glibc 2.1. .SH "VEJA TAMBÉM" \fBstrnlen\fP(3), \fBwcslen\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 .