Download VisualDSP++ 3.5 C/C++ Compiler and Library

Transcript
C/C++ Run-Time Library
memmove
copy characters between overlapping objects
Synopsis
#include <string.h>
void *memmove(void *s1, const void *s2, size_t n);
Description
The memmove function copies n characters from the object pointed to by s2
into the object pointed to by s1. The entire object is copied correctly even
if the objects overlap.
The memmove function returns a pointer to s1.
Error Conditions
The memmove function does not return an error condition.
Example
#include <string.h>
char *ptr, *str = "ABCDE";
ptr = str + 2;
memmove(str, str, 3);
/* *ptr = "ABC",
*str = "ABABC */
See Also
memcpy, strcpy, strncpy
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
3-99