*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> bcopy (9)              
Title
Content
Arch
Section
 

BCOPY(9)

Contents


NAME    [Toc]    [Back]

     bcopy - copy byte string

SYNOPSIS    [Toc]    [Back]

     #include <sys/systm.h>

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

DESCRIPTION    [Toc]    [Back]

     The bcopy() interface is obsolete.  Do not add new code using it.  It
     will soon be purged.  Use memcpy(9) instead.  (The bcopy() function is
     now a macro for memcpy(9).)

     The bcopy() function copies len bytes from string src to string dst.

     Unlike bcopy(3) the two strings must not overlap!  In the traditional BSD
     kernel, overlapping copies were handled by the now-purged ovbcopy() function.
 If you need to copy overlapping data, see memmove(9).

     If len is zero, no bytes are copied.

SEE ALSO    [Toc]    [Back]

      
      
     bcopy(3), memcpy(9), memmove(9)

BSD                              July 7, 2001                              BSD
[ Back ]
 Similar pages
Name OS Title
bcopy Linux copy byte strings
memchr NetBSD locate byte in byte string
memset NetBSD write a byte to byte string
memchr FreeBSD locate byte in byte string
memset FreeBSD write a byte to byte string
memset NetBSD write a byte to byte string
memset OpenBSD write a byte to byte string
memchr OpenBSD locate byte in byte string
XmStringCopy Tru64 A compound string function that makes a copy of a string
XmStringCopy IRIX A compound string function that makes a copy of a string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service