ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



BCOPY(3)                 BSD Library Functions Manual                 BCOPY(3)

NAME
     bcopy -- copy byte string

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <strings.h>

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

DESCRIPTION
     The bcopy() function copies n bytes from string s1 to string s2.  The two strings may overlap.  If n is
     zero, no bytes are copied.

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

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

BSD                              June 4, 1993                              BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.