add ANSI contribution notice
[unix-history] / usr / src / lib / libc / string / memmove.3
CommitLineData
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
23The
24.Fn memmove
25function
79c939a0 26copies
ae59e04c 27.Fa len
79c939a0 28bytes from string
ae59e04c 29.Fa src
79c939a0 30to string
ae59e04c 31.Fa dst .
79c939a0
KB
32The two strings may overlap;
33the copy is always done in a non-destructive manner.
ae59e04c
CL
34.Sh RETURN VALUES
35The
36.Fn memmove
37function 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
45The
46.Fn memmove
47function
48conforms to
49.St -ansiC .