Embedded TCP/IP stack: fnet_memcpy

FNET

void fnet_memcpy ( FNET_COMP_PACKED_VAR void *  to_ptr,
FNET_COMP_PACKED_VAR const void *  from_ptr,
fnet_size_t  number_of_bytes 
)

Copies bytes in memory.

Parameters
to_ptrPointer to the memory location to copy to.
from_ptrPointer to the memory location to copy from.
number_of_bytesNumber of bytes to copy.
See also
FNET_CFG_OVERLOAD_MEMCPY

This function copies number_of_bytes bytes from memory area pointed by from_ptr to memory area pointed by to_ptr.
You may overload it by own implementation, using FNET_CFG_OVERLOAD_MEMCPY.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net