BCOPY(3)                NetBSD Library Functions Manual               BCOPY(3)

NAME
     bcopy -- copy byte string

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <strings.h>

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

DESCRIPTION
     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.

     This function is obsolete.  The functions memcpy(3) and/or memmove(3)
     should be used instead.  Note that bcopy() takes its src and dst argu-
     ments in the opposite order from these.

SEE ALSO
     memccpy(3), memcpy(3), memmove(3), strcpy(3), strncpy(3)

STANDARDS
     The bcmp() function conforms to IEEE Std 1003.1-2001 (``POSIX.1'').  The
     IEEE Std 1003.1-2004 (``POSIX.1'') revision marked it as legacy; the IEEE
     Std 1003.1-2008 (``POSIX.1'') revision removed it from the specification.

HISTORY
     A bcopy() function appeared in 4.2BSD.

NetBSD 7.0                        May 5, 2012                       NetBSD 7.0

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


©1994 Man-cgi 1.15, Panagiotis Christias <christia@softlab.ntua.gr>
©1996-2014 Modified for NetBSD by Kimmo Suominen