.\" -*- 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 .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH WCSDUP 3 "15 Septiembre 2017" GNU "Manual del Programador de Linux" .SH NOMBRE wcsdup \- duplica una cadena de caracteres anchos .SH SINOPSIS .nf \fB#include \fP .PP \fBwchar_t *wcsdup(const wchar_t *\fP\fIs\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 \fBwcsdup\fP(): .PD 0 .ad l .RS 4 .TP 4 Desde glibc 2.10: _POSIX_C_SOURCE\ >=\ 200809L .TP Antes de glibc 2.10: _GNU_SOURCE .RE .ad .PD .SH DESCRIPCIÓN La función \fBwcsdup\fP() es el equivalente de caracteres anchos de la función \fBstrdup\fP(3). Ubica y devuelve una nueva cadena de caracteres anchos cuyo contenido inicial es un duplicado de la la cadena de caracteres anchos apuntada por \fIs\fP. .PP Memory for the new wide\-character string is obtained with \fBmalloc\fP(3), and should be freed with \fBfree\fP(3). .SH "VALOR DEVUELTO" On success, \fBwcsdup\fP() returns a pointer to the new wide\-character string. On error, it returns NULL, with \fIerrno\fP set to indicate the cause of the error. .SH ERRORES .TP \fBENOMEM\fP Memoria insuficiente disponible para alojar la cadena duplicada. .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{ \fBwcsdup\fP() T} Seguridad del hilo Multi\-hilo seguro .TE .sp 1 .SH "CONFORME A" .\" present in libc5 and glibc 2.0 and later POSIX.1\-2008. This function is not specified in POSIX.1\-2001, and is not widely available on other systems. .SH "VÉASE TAMBIÉN" \fBstrdup\fP(3), \fBwcscpy\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/. .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 .