| BCOPY(9) | Kernel Developer's Manual | BCOPY(9) |
bcopy — copy byte
string
#include
<sys/systm.h>
void
bcopy(const
void *src, void
*dst, size_t
len);
bcopy()
interface is obsolete. Do not add new code using it. It will soon be purged.
Use memcpy(9) instead. (The
bcopy() function is now a macro for
memcpy(9).)The
bcopy()
function copies len bytes from string
src to string dst.
ovbcopy()
function. If you need to copy overlapping data, see
memmove(9).
If len is zero, no bytes are copied.
| July 7, 2001 | NetBSD 11.0 |