1*48351Scael.\" Copyright (c) 1990, 1991 The Regents of the University of California. 241943Sbostic.\" 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*48351Scael.\" @(#)bcopy.3 5.3 (Berkeley) 04/19/91 1041943Sbostic.\" 11*48351Scael.Dd 12*48351Scael.Dt BCOPY 3 13*48351Scael.Os BSD 4.2 14*48351Scael.Sh NAME 15*48351Scael.Nm bcopy 16*48351Scael.Nd copy byte string 17*48351Scael.Sh SYNOPSIS 18*48351Scael.Fd #include <string.h> 19*48351Scael.Ft void 20*48351Scael.Fn bcopy "const void *src" "void *dst" "size_t len" 21*48351Scael.Sh DESCRIPTION 22*48351ScaelThe 23*48351Scael.Fn bcopy 24*48351Scaelfunction 2541943Sbosticcopies 26*48351Scael.Fa len 2741943Sbosticbytes from string 28*48351Scael.Fa src 2941943Sbosticto string 30*48351Scael.Fa dst . 3141943SbosticThe two strings may overlap. 3241943SbosticIf 33*48351Scael.Fa len 3441943Sbosticis zero, no bytes are copied. 35*48351Scael.Sh SEE ALSO 36*48351Scael.Xr memccpy 3 , 37*48351Scael.Xr memcpy 3 , 38*48351Scael.Xr memmove 3 , 39*48351Scael.Xr strcpy 3 , 40*48351Scael.Xr strncpy 3 41*48351Scael.Sh HISTORY 42*48351ScaelA 43*48351Scael.Fn bcopy 44*48351Scaelfunction appeared in 45*48351Scael.Bx 4.2 . 46