bcopy

Copies the number of characters specified by length from one buffer to another buffer, even when the buffers overlap.

Library:LibC
Classification:POSIX (Legacy)
Service:Memory Manipulation

Syntax

  #include <string.h> 
   
  void bcopy (
     void         *dst,   
     const void   *src,   
     size_t        length);
  

Parameters

dst

(IN) Points to a buffer into which to copy the characters.

src

(IN) Points to a buffer containing the characters to be copied.

length

(IN) Specifies the number of characters to move.

Remarks

The bcopy interface has been implemented as a macro. The memmove function is the preferred interface.

See Also

memmove