Unix/Linux Go Back    

NetBSD 6.1.5 - man page for bcopy (netbsd section 9)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

BCOPY(9)			  BSD Kernel Developer's Manual 			 BCOPY(9)

     bcopy -- copy byte string

     #include <sys/systm.h>

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

     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, overlap-
     ping copies were handled by the now-purged ovbcopy() function.  If you need to copy overlap-
     ping data, see memmove(9).

     If len is zero, no bytes are copied.

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

BSD					   July 7, 2001 				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 03:22 AM.