Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
memmove.c
Go to the documentation of this file.
1 #include <string.h>
2 
3 void* __attribute__((weak)) memmove(void* s1, const void* s2, size_t n)
4 {
5  return memcpy(s1, s2, n);
6 }
void * memmove(void *dest, const void *src, size_t n)
Copies n characters from the object pointed to by src to the object pointed to by dest.
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.
void * __attribute__((weak))
Definition: memmove.c:3