Commit | Line | Data |
---|---|---|
ae59e04c | 1 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
79c939a0 KB |
2 | .\" All rights reserved. |
3 | .\" | |
4 | .\" This code is derived from software contributed to Berkeley by | |
043368e6 KB |
5 | .\" Chris Torek and the American National Standards Committee X3, |
6 | .\" on Information Processing Systems. | |
7 | .\" | |
79c939a0 KB |
8 | .\" %sccs.include.redist.man% |
9 | .\" | |
043368e6 | 10 | .\" @(#)memmove.3 5.5 (Berkeley) %G% |
79c939a0 | 11 | .\" |
ae59e04c CL |
12 | .Dd |
13 | .Dt MEMMOVE 3 | |
14 | .Os | |
15 | .Sh NAME | |
16 | .Nm memmove | |
17 | .Nd copy byte string | |
18 | .Sh SYNOPSIS | |
19 | .Fd #include <string.h> | |
20 | .Ft void * | |
21 | .Fn memmove "void *dst" "const void *src" "size_t len" | |
22 | .Sh DESCRIPTION | |
23 | The | |
24 | .Fn memmove | |
25 | function | |
79c939a0 | 26 | copies |
ae59e04c | 27 | .Fa len |
79c939a0 | 28 | bytes from string |
ae59e04c | 29 | .Fa src |
79c939a0 | 30 | to string |
ae59e04c | 31 | .Fa dst . |
79c939a0 KB |
32 | The two strings may overlap; |
33 | the copy is always done in a non-destructive manner. | |
ae59e04c CL |
34 | .Sh RETURN VALUES |
35 | The | |
36 | .Fn memmove | |
37 | function returns the original value of | |
38 | .Fa dst . | |
39 | .Sh SEE ALSO | |
40 | .Xr bcopy 3 , | |
41 | .Xr memccpy 3 , | |
42 | .Xr memcpy 3 , | |
43 | .Xr strcpy 3 | |
44 | .Sh STANDARDS | |
45 | The | |
46 | .Fn memmove | |
47 | function | |
48 | conforms to | |
49 | .St -ansiC . |