]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/memmove.3.patch
Libc-594.1.4.tar.gz
[apple/libc.git] / string / FreeBSD / memmove.3.patch
1 --- memmove.3 2003-05-20 15:23:54.000000000 -0700
2 +++ memmove.3.edit 2006-06-28 16:55:53.000000000 -0700
3 @@ -47,24 +47,28 @@
4 .Sh SYNOPSIS
5 .In string.h
6 .Ft void *
7 -.Fn memmove "void *dst" "const void *src" "size_t len"
8 +.Fo memmove
9 +.Fa "void *s1"
10 +.Fa "const void *s2"
11 +.Fa "size_t n"
12 +.Fc
13 .Sh DESCRIPTION
14 The
15 .Fn memmove
16 function
17 copies
18 -.Fa len
19 +.Fa n
20 bytes from string
21 -.Fa src
22 +.Fa s2
23 to string
24 -.Fa dst .
25 +.Fa s1 .
26 The two strings may overlap;
27 the copy is always done in a non-destructive manner.
28 .Sh RETURN VALUES
29 The
30 .Fn memmove
31 function returns the original value of
32 -.Fa dst .
33 +.Fa s1 .
34 .Sh SEE ALSO
35 .Xr bcopy 3 ,
36 .Xr memccpy 3 ,