PROWAREtech
C/C++: strcpy Procedure
Copy ASCII c-string.
char * strcpy (char * dst, char * src)
{
char * cp = dst;
while( *cp++ = *src++ );
return dst;
}
Comment
char * strcpy (char * dst, char * src)
{
char * cp = dst;
while( *cp++ = *src++ );
return dst;
}
This site uses cookies. Cookies are simple text files stored on the user's computer. They are used for adding features and security to this site. Read the privacy policy. |