1*61193Sbostic.\" Copyright (c) 1990, 1991, 1993 2*61193Sbostic.\" The Regents of the University of California. All rights reserved. 341955Sbostic.\" 441955Sbostic.\" This code is derived from software contributed to Berkeley by 550311Sbostic.\" Chris Torek and the American National Standards Committee X3, 650311Sbostic.\" on Information Processing Systems. 750311Sbostic.\" 841955Sbostic.\" %sccs.include.redist.man% 941955Sbostic.\" 10*61193Sbostic.\" @(#)memmove.3 8.1 (Berkeley) 06/04/93 1141955Sbostic.\" 1248351Scael.Dd 1348351Scael.Dt MEMMOVE 3 1448351Scael.Os 1548351Scael.Sh NAME 1648351Scael.Nm memmove 1748351Scael.Nd copy byte string 1848351Scael.Sh SYNOPSIS 1948351Scael.Fd #include <string.h> 2048351Scael.Ft void * 2148351Scael.Fn memmove "void *dst" "const void *src" "size_t len" 2248351Scael.Sh DESCRIPTION 2348351ScaelThe 2448351Scael.Fn memmove 2548351Scaelfunction 2641955Sbosticcopies 2748351Scael.Fa len 2841955Sbosticbytes from string 2948351Scael.Fa src 3041955Sbosticto string 3148351Scael.Fa dst . 3241955SbosticThe two strings may overlap; 3341955Sbosticthe copy is always done in a non-destructive manner. 3448351Scael.Sh RETURN VALUES 3548351ScaelThe 3648351Scael.Fn memmove 3748351Scaelfunction returns the original value of 3848351Scael.Fa dst . 3948351Scael.Sh SEE ALSO 4048351Scael.Xr bcopy 3 , 4148351Scael.Xr memccpy 3 , 4248351Scael.Xr memcpy 3 , 4348351Scael.Xr strcpy 3 4448351Scael.Sh STANDARDS 4548351ScaelThe 4648351Scael.Fn memmove 4748351Scaelfunction 4848351Scaelconforms to 4948351Scael.St -ansiC . 50