blob: f7e3ba38c16e3e69395f85dcdd6c23bb20797a6c [file] [log] [blame]
#include <string.h>
char *__stpcpy(char *, const char *);
char *strcpy(char *restrict dest, const char *restrict src)
{
#if 1
__stpcpy(dest, src);
return dest;
#else
const unsigned char *s = src;
unsigned char *d = dest;
while ((*d++ = *s++));
return dest;
#endif
}