Guardian C Library Calls Reference Manual

Reference to Library Calls
Guardian TNS C Library Calls Reference Manual128833 3-119
memcpy
memcpy
The memcpy function copies one block of memory to another. If the destination block
overlaps the source block, memcpy does not preserve the data in the overlapping portion
of the source block.
dest_blk
points to the block to copy data to.
source_blk
points to the block to copy data from.
copy_count
is the number of bytes to copy.
Return Value
is dest_blk.
#include <stringh>
void *memcpy(void *dest_blk, const void *source_blk,
size_t copy_count);