.\" -*- 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 wcpncpy 3 "20 ​​Julio 2023" "Páginas de manual de Linux 6.05.01" .SH NOMBRE wcpncpy \- copia una cadena de caracteres anchos de tamaño fijo, devolviendo un puntero a su final .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSIS .nf \fB#include \fP .PP \fBwchar_t *wcpncpy(wchar_t \fP\fIdest\fP\fB[restrict .\fP\fIn\fP\fB],\fP \fB const wchar_t \fP\fIsrc\fP\fB[restrict .\fP\fIn\fP\fB],\fP \fB size_t \fP\fIn\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 \fBwcpncpy\fP(): .nf Desde glibc 2.10: _POSIX_C_SOURCE >= 200809L Antes de glibc 2.10: _GNU_SOURCE .fi .SH DESCRIPCIÓN The \fBwcpncpy\fP() function is the wide\-character equivalent of the \fBstpncpy\fP(3) function. It copies at most \fIn\fP wide characters from the wide\-character string pointed to by \fIsrc\fP, including the terminating null wide (L\[aq]\e0\[aq]), to the array pointed to by \fIdest\fP. Exactly \fIn\fP wide characters are written at \fIdest\fP. If the length \fIwcslen(src)\fP is smaller than \fIn\fP, the remaining wide characters in the array pointed to by \fIdest\fP are filled with L\[aq]\e0\[aq] characters. If the length \fIwcslen(src)\fP is greater than or equal to \fIn\fP, the string pointed to by \fIdest\fP will not be L\[aq]\e0\[aq] terminated. .PP Las cadenas no se pueden solapar. .PP El programador debe asegurar que hay espacio para al menos \fIn\fP caracteres anchos en \fIdest\fP. .SH "VALOR DEVUELTO" \fBwcpncpy\fP() returns a pointer to the last wide character written, that is, \fIdest\fP+\fIn\fP\-1. .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 \fBwcpncpy\fP() T} Seguridad del hilo Multi\-hilo seguro .TE .sp 1 .SH ESTÁNDARES POSIX.1\-2008. .SH "VÉASE TAMBIÉN" \fBstpncpy\fP(3), \fBwcsncpy\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 .