1MEMMOVE(3)                 Linux Programmer's Manual                MEMMOVE(3)
2
3
4

NAME

6       memmove - copy memory area
7

SYNOPSIS

9       #include <string.h>
10
11       void *memmove(void *dest, const void *src, size_t n);
12

DESCRIPTION

14       The  memmove()  function  copies n bytes from memory area src to memory
15       area dest.  The memory areas may overlap: copying takes place as though
16       the  bytes in src are first copied into a temporary array that does not
17       overlap src or dest, and the bytes are then copied from  the  temporary
18       array to dest.
19

RETURN VALUE

21       The memmove() function returns a pointer to dest.
22

ATTRIBUTES

24       For   an   explanation   of   the  terms  used  in  this  section,  see
25       attributes(7).
26
27       ┌──────────┬───────────────┬─────────┐
28Interface Attribute     Value   
29       ├──────────┼───────────────┼─────────┤
30memmove() │ Thread safety │ MT-Safe │
31       └──────────┴───────────────┴─────────┘

CONFORMING TO

33       POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD.
34

SEE ALSO

36       bcopy(3), bstring(3),  memccpy(3),  memcpy(3),  strcpy(3),  strncpy(3),
37       wmemmove(3)
38

COLOPHON

40       This  page  is  part of release 4.15 of the Linux man-pages project.  A
41       description of the project, information about reporting bugs,  and  the
42       latest     version     of     this    page,    can    be    found    at
43       https://www.kernel.org/doc/man-pages/.
44
45
46
47GNU                               2017-03-13                        MEMMOVE(3)
Impressum