BCOPY(3) Library Functions Manual BCOPY(3)

bcopymemory operations

#include <strings.h>

void bcopy(const void *s1, void *s2, size_t n);

The bcopy() function copies n bytes from the area pointed to by s1 to the area pointed to by s2 .

The bytes are copied correctly even if the area pointed to by overlaps the area pointed to by .

The bcopy() function returns no value.

No errors are defined.

None.

For portability to implementations conforming to earlier versions of this specification, memmove(3) is preferred over this function.

The following are approximately equivalent (note the order of the arguments): bcopy(s1,s2,n) ~= memmove(s2,s1,n)

None.

memmove(3) , <strings.h> .

February 1997 posix.fail