blob: 8372eba50b638a50fcc1ce2ff7179cb8b7892876 [file] [log] [blame]
/*
* strcpy.c
*
* strcpy()
*/
#include <string.h>
char *strcpy(char *dst, const char *src)
{
char *q = dst;
const char *p = src;
char ch;
do {
*q++ = ch = *p++;
} while ( ch );
return dst;
}