VMS Help  —  CRTL  strcpy
    Copies all of source, including the terminating null character,
    into dest.

    Format

      #include  <string.h>

      char *strcpy  (char *dest, const char *source);

1  –  Function Variants

    The strcpy function has variants named _strcpy32 and _strcpy64
    for use with 32-bit and 64-bit pointer sizes, respectively.

2  –  Arguments

 dest

    Pointer to the destination character string.

 source

    Pointer to the source character string.

3  –  Description

    The strcpy function copies source into dest, and stops after
    copying source's null character.

    The behavior of this function is undefined if the area pointed to
    by dest overlaps the area pointed to by source.

4  –  Return Value

    x                  The address of dest.
Close Help