Header Files

string.h
strcpy, strdup, strncpy

Prototype

char * strcpy ( char * Destination, const char * Source );

char * strdup ( const char * Source );

char * strncpy ( char * Destination, const char * Source, size_t count );

Arguments

Count
The maximum number of characters to be copied. 
Destination
A pointer to the receiving field. 
Source
A pointer to the string to be copied. 

Return Values

strcpy
A pointer to the receiving field. 
strdup
A pointer to the receiving field. 
strncpy
A pointer to the receiving field. 

Remarks

External Links

MSDN strcpy, wcscpy, _mbscpy Visual Studio 8.0 (2005)
MSDN strdup, wcsdup Visual Studio 8.0 (2005)
MSDN strncpy, _strncpy_l, wcsncpy,
_wcsncpy_l, _mbsncpy, _mbsncpy_l
Visual Studio 8.0 (2005)