.\" -*- 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 ​​Julio 2023" "Páginas de manual de Linux 6.05.01" .SH NOMBRE wcsnlen \- determina la longitud de una cadena de caracteres anchos de tamaño fijo .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSIS .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 Macros de Prueba de Características para glibc (véase \fBfeature_test_macros\fP(7)): .RE .PP \fBwcsnlen\fP(): .nf Desde glibc 2.10: _POSIX_C_SOURCE >= 200809L Antes de glibc 2.10: _GNU_SOURCE .fi .SH DESCRIPCIÓN 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 DEVUELTO" The \fBwcsnlen\fP() function returns \fIwcslen(s)\fP, if that is less than \fImaxlen\fP, or \fImaxlen\fP if there is no null wide character among the first \fImaxlen\fP wide characters pointed to by \fIs\fP. .SH ATRIBUTOS Para obtener una explicación de los términos usados en esta sección, véase \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interfaz Atributo Valor T{ .na .nh \fBwcsnlen\fP() T} Seguridad del hilo Multi\-hilo seguro .TE .sp 1 .SH ESTÁNDARES POSIX.1\-2008. .SH HISTORIAL glibc 2.1. .SH "VÉASE TAMBIÉN" \fBstrnlen\fP(3), \fBwcslen\fP(3) .PP .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 . .PP 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. .PP 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 .