memmove.c

The libc implementation

Author

Martin ‘Solar’ Baute

License

Public Domain

Summary
memmove.cThe libc implementation
Functions
memmoveCopies n bytes from s2 to s1, where s2 and s1 can overlap

Functions

memmove

void * memmove(void *s1,
const void *s2,
size_t n)

Copies n bytes from s2 to s1, where s2 and s1 can overlap

Returns the value of s1

void * memmove(void *s1,
const void *s2,
size_t n)
Copies n bytes from s2 to s1, where s2 and s1 can overlap