summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/memmove.3
diff options
context:
space:
mode:
authoravsm <>2003-06-21 12:04:01 +0000
committeravsm <>2003-06-21 12:04:01 +0000
commit6e90194651585bafb0769ded9d72622ba977b9e7 (patch)
tree475f27c85d00c1ad6fc0502bd10171dbe50b6c7b /src/lib/libc/string/memmove.3
parenta81dac43d76aca48a36afe9d991ea38782ddc395 (diff)
downloadopenbsd-6e90194651585bafb0769ded9d72622ba977b9e7.tar.gz
openbsd-6e90194651585bafb0769ded9d72622ba977b9e7.tar.bz2
openbsd-6e90194651585bafb0769ded9d72622ba977b9e7.zip
clarify these functions by changing references from strings to buffers
ok deraadt@, millert@, jmc@, suggested by espie@
Diffstat (limited to 'src/lib/libc/string/memmove.3')
-rw-r--r--src/lib/libc/string/memmove.310
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/string/memmove.3 b/src/lib/libc/string/memmove.3
index 64d491c69c..d4a364eb36 100644
--- a/src/lib/libc/string/memmove.3
+++ b/src/lib/libc/string/memmove.3
@@ -29,14 +29,14 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: memmove.3,v 1.5 2003/06/02 20:18:38 millert Exp $ 32.\" $OpenBSD: memmove.3,v 1.6 2003/06/21 12:04:01 avsm Exp $
33.\" 33.\"
34.Dd June 29, 1991 34.Dd June 29, 1991
35.Dt MEMMOVE 3 35.Dt MEMMOVE 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
38.Nm memmove 38.Nm memmove
39.Nd copy byte string 39.Nd copy bytes
40.Sh SYNOPSIS 40.Sh SYNOPSIS
41.Fd #include <string.h> 41.Fd #include <string.h>
42.Ft void * 42.Ft void *
@@ -46,11 +46,11 @@ The
46.Fn memmove 46.Fn memmove
47function copies 47function copies
48.Fa len 48.Fa len
49bytes from string 49bytes from buffer
50.Fa src 50.Fa src
51to string 51to buffer
52.Fa dst . 52.Fa dst .
53The two strings may overlap; 53The two buffers may overlap;
54the copy is always done in a non-destructive manner. 54the copy is always done in a non-destructive manner.
55.Sh RETURN VALUES 55.Sh RETURN VALUES
56The 56The