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 at‐
25       tributes(7).
26
27       ┌────────────────────────────────────────────┬───────────────┬─────────┐
28Interface                                   Attribute     Value   
29       ├────────────────────────────────────────────┼───────────────┼─────────┤
30memmove()                                   │ Thread safety │ MT-Safe │
31       └────────────────────────────────────────────┴───────────────┴─────────┘
32

CONFORMING TO

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

SEE ALSO

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

COLOPHON

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