Memmove - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

memmove

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents