Commit | Line | Data |
---|---|---|
79c939a0 KB |
1 | .\" Copyright (c) 1990 The Regents of the University of California. |
2 | .\" All rights reserved. | |
3 | .\" | |
4 | .\" This code is derived from software contributed to Berkeley by | |
5 | .\" Chris Torek. | |
6 | .\" | |
7 | .\" %sccs.include.redist.man% | |
8 | .\" | |
b8dfab23 | 9 | .\" @(#)memmove.3 5.2 (Berkeley) %G% |
79c939a0 KB |
10 | .\" |
11 | .TH MEMMOVE 3 "" | |
12 | .UC 7 | |
13 | .SH NAME | |
14 | memmove \- copy byte string | |
15 | .SH SYNOPSIS | |
16 | .nf | |
17 | .ft B | |
18 | #include <string.h> | |
19 | ||
20 | void * | |
21 | memmove(void *dst, const void *src, size_t len); | |
22 | .ft R | |
23 | .fi | |
24 | .SH DESCRIPTION | |
25 | .B Memmove | |
26 | copies | |
27 | .I len | |
28 | bytes from string | |
29 | .I src | |
30 | to string | |
31 | .I dst | |
32 | and returns the original value of | |
33 | .IR dst . | |
34 | The two strings may overlap; | |
35 | the copy is always done in a non-destructive manner. | |
36 | .SH SEE ALSO | |
b8dfab23 | 37 | bcopy(3), memccpy(3), memcpy(3), strcpy(3) |
79c939a0 KB |
38 | .SH STANDARDS |
39 | .IR Memmove | |
40 | conforms to ANSI X3.159-1989 (``ANSI C''). |