xref: /csrg-svn/lib/libc/string/bcopy.3 (revision 61193)
1*61193Sbostic.\" Copyright (c) 1990, 1991, 1993
2*61193Sbostic.\"	The Regents of the University of California.  All rights reserved.
341943Sbostic.\"
441943Sbostic.\" This code is derived from software contributed to Berkeley by
541943Sbostic.\" Chris Torek.
641943Sbostic.\"
741943Sbostic.\" %sccs.include.redist.man%
841943Sbostic.\"
9*61193Sbostic.\"     @(#)bcopy.3	8.1 (Berkeley) 06/04/93
1041943Sbostic.\"
1148351Scael.Dd
1248351Scael.Dt BCOPY 3
1348351Scael.Os BSD 4.2
1448351Scael.Sh NAME
1548351Scael.Nm bcopy
1648351Scael.Nd copy byte string
1748351Scael.Sh SYNOPSIS
1848351Scael.Fd #include <string.h>
1948351Scael.Ft void
2048351Scael.Fn bcopy "const void *src" "void *dst" "size_t len"
2148351Scael.Sh DESCRIPTION
2248351ScaelThe
2348351Scael.Fn bcopy
2448351Scaelfunction
2541943Sbosticcopies
2648351Scael.Fa len
2741943Sbosticbytes from string
2848351Scael.Fa src
2941943Sbosticto string
3048351Scael.Fa dst .
3141943SbosticThe two strings may overlap.
3241943SbosticIf
3348351Scael.Fa len
3441943Sbosticis zero, no bytes are copied.
3548351Scael.Sh SEE ALSO
3648351Scael.Xr memccpy 3 ,
3748351Scael.Xr memcpy 3 ,
3848351Scael.Xr memmove 3 ,
3948351Scael.Xr strcpy 3 ,
4048351Scael.Xr strncpy 3
4148351Scael.Sh HISTORY
4248351ScaelA
4348351Scael.Fn bcopy
4448351Scaelfunction appeared in
4548351Scael.Bx 4.2 .
46