1MEMMOVE(3P)                POSIX Programmer's Manual               MEMMOVE(3P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       memmove - copy bytes in memory with overlapping areas
13

SYNOPSIS

15       #include <string.h>
16
17       void *memmove(void *s1, const void *s2, size_t n);
18
19

DESCRIPTION

21       The memmove() function shall copy n bytes from the object pointed to by
22       s2  into  the  object pointed to by s1. Copying takes place as if the n
23       bytes from the object pointed to by s2 are first copied into  a  tempo‐
24       rary  array  of n bytes that does not overlap the objects pointed to by
25       s1 and s2, and then the n bytes from the  temporary  array  are  copied
26       into the object pointed to by s1.
27

RETURN VALUE

29       The  memmove() function shall return s1; no return value is reserved to
30       indicate an error.
31

ERRORS

33       No errors are defined.
34
35       The following sections are informative.
36

EXAMPLES

38       None.
39

APPLICATION USAGE

41       None.
42

RATIONALE

44       None.
45

FUTURE DIRECTIONS

47       None.
48

SEE ALSO

50       The Base Definitions volume of IEEE Std 1003.1-2001, <string.h>
51
53       Portions of this text are reprinted and reproduced in  electronic  form
54       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
55       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
56       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
57       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
58       event of any discrepancy between this version and the original IEEE and
59       The Open Group Standard, the original IEEE and The Open Group  Standard
60       is  the  referee document. The original Standard can be obtained online
61       at http://www.opengroup.org/unix/online.html .
62
63
64
65IEEE/The Open Group                  2003                          MEMMOVE(3P)
Impressum