wcpcpy(3) Library Functions Manual wcpcpy(3)

wcpcpy - copia una cadena de caracteres anchos, devolviendo un puntero a su final

Biblioteca Estándar C (libc, -lc)

#include <wchar.h>
wchar_t *wcpcpy(wchar_t *restrict dest, const wchar_t *restrict src);
Requisitos de Macros de Prueba de Características para glibc (véase feature_test_macros(7)):

wcpcpy():

    Desde glibc 2.10:
        _POSIX_C_SOURCE >= 200809L
    Antes de glibc 2.10:
        _GNU_SOURCE

The wcpcpy() function is the wide-character equivalent of the stpcpy(3) function. It copies the wide-character string pointed to by src, including the terminating null wide character (L'\0'), to the array pointed to by dest.

Las cadenas no se pueden solapar.

El programador tiene que asegurarse de que hay espacio para, al menos, wcslen(src)+1 caracteres anchos en dest.

wcpcpy() returns a pointer to the end of the wide-character string dest, that is, a pointer to the terminating null wide character.

Para obtener una explicación de los términos usados en esta sección, véase attributes(7).

Interfaz Atributo Valor
wcpcpy() Seguridad del hilo Multi-hilo seguro

POSIX.1-2008.

strcpy(3), wcscpy(3)

La traducción al español de esta página del manual fue creada por Pedro Pablo Fábrega <pfabrega@arrakis.es> y Juan Piernas <piernas@ditec.um.es>

Esta traducción es documentación libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD.

Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a debian-l10n-spanish@lists.debian.org.

31 Octubre 2023 Páginas de manual de Linux 6.06