Embedded TCP/IP stack  4.7.0

◆ fnet_memcpy()

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-2020 by Andrej Butok. http://fnet.sourceforge.net