Everything

strcpy


Character string copy

[Classification]

Standard library

[Syntax]

#include <string.h>

char __near * __far strcpy(char __near *s1, const char __near *s2); (C90)

char __near * __far strcpy(char __near * restrict s1, const char __near * restrict s2); (C99) [V1.07 or later]

char __far * __far _COM_strcpy_ff(char __far *s1, const char __far *s2); (C90)

char __far * __far _COM_strcpy_ff(char __far * restrict s1, const char __far * restrict s2); (C99) [V1.07 or later]

 

[Return value]

Returns the value of s1.

[Description]

This function copies the character string indicated by s2 (terminating null character is included) to the array indicated by s1.

The operation is undefined if the copy source and copy destination areas overlap.