26 char*
strcpy(
char* __restrict dst,
const char* __restrict src)
28 const size_t length =
strlen(src);
31 memcpy(dst, src, length + 1);
size_t strlen(const char *str)
Returns the length of the given null-terminated byte string.
void * memcpy(void *__restrict dest, const void *__restrict src, size_t n)
Copies n characters from the object pointed to by src to the object pointed to by dest.
char * strcpy(char *__restrict dst, const char *__restrict src)
Copies the null-terminated byte string pointed to by src to the character array whose first element i...