bcopy() — Copy bytes in memory
Standards
Standards / Extensions | C or C++ | Dependencies |
---|---|---|
XPG4.2 |
both |
Format
#define _XOPEN_SOURCE_EXTENDED 1
#include <strings.h>
void bcopy(const void *s1, void *s2, size_t n);
General description
The bcopy() function copies n bytes from the area pointed to by s1 to the area pointed to by s2 using the memcpy() function.
Note: The bcopy() function
has been moved to the Legacy Option group in Single UNIX Specification, Version 3 and may be withdrawn
in a future version. The memmove() function is preferred for portability.
Returned value
bcopy() returns no values.
There are no errno values defined.