HP 3000 Manuals

memmove [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation


HP C/iX Library Reference Manual

memmove 

Copies a specified number of characters from one object to another.

Syntax 

     #include <string.h>
     void *memmove(void *s1, const void *s2, size_t n);

Parameters 

s1            A pointer to the target object.

s2            A pointer to the source object.

n             The number of characters to copy.

Return Values 

x             The value of s1.

Description 

This function copies n characters from the object pointed to by s2 into
the object pointed to by s1.  The memmove function is similar to memcpy
but allows the source and destination objects to overlap.

See Also 

memcpy(), strcpy(), memcpy(), memchr(), memcmp(), memset(), strncpy(),
ANSI C 4.11.2.2



MPE/iX 5.0 Documentation