Library /sys$common/syshlp/helplib.hlb  —  CRTL  wcscpy
    Copies the wide-character string source, including the
    terminating null character, into dest.

    Format

      #include  <wchar.h>

      wchar_t *wcscpy  (wchar_t *dest, const wchar_t *source);

1  –  Function Variants

    The wcscpy function has variants named _wcscpy32 and _wcscpy64
    for use with 32-bit and 64-bit pointer sizes, respectively.

2  –  Arguments

 dest

    Pointer to the null-terminated wide-character destination string.

 source

    Pointer to the null-terminated wide-character source string.

3  –  Description

    The wcscpy function copies source into dest, and stops after
    copying source's null character. If copying takes place between
    two overlapping strings, the behavior is undefined.

    See also wcsncpy.

4  –  Return Value

    x                  The address of source.
Close Help