BCOPY(3) | Library Functions Manual | BCOPY(3) |
bcopy
— copy byte
string
Standard C Library (libc, -lc)
#include
<strings.h>
void
bcopy
(const
void *src, void
*dst, size_t
len);
The
bcopy
()
function copies len bytes from string
src to string dst. The two
strings may overlap. If len is zero, no bytes are
copied.
A bcopy
() function appeared in
4.2BSD. Its prototype existed previously in
<string.h>
before it was
moved to <strings.h>
for
IEEE Std 1003.1-2001 (“POSIX.1”)
compliance.
bcopy
() was deprecated in
IEEE Std 1003.1-2001 (“POSIX.1”) and
removed in IEEE Std 1003.1-2008
(“POSIX.1”).
June 4, 1993 | macOS 15.0 |