OpenBSD manual page server

Manual Page Search Parameters

BCOPY(3) Library Functions Manual BCOPY(3)

bcopycopy bytes

#include <strings.h>

void
bcopy(const void *src, void *dst, size_t len);

The () function copies len bytes from buffer src to buffer dst. The two buffers may overlap. If len is zero, no bytes are copied.

memccpy(3), memcpy(3), memmove(3), strcpy(3), strlcpy(3), strncpy(3)

The bcopy() function first appeared in 4.2BSD.

November 24, 2015 OpenBSD-7.3