NETMemCpy

Syntax

#include <revolution/net.h>

void*   NETMemCpy( void* dst, const void* src, size_t size );

Arguments

dst Address of copy destination
src Address of copy source
size Size of data to copy

Return Values

Returns dst as is.

Description

Copies the memory.

This function is implemented for efficient copying between memory addresses that are not aligned, which is often used in network processing. In cases where memory addresses are aligned in 4- or 8-byte units, it might be faster to use another memory copying function.

This function correctly copies when the copy source region and copy destination region are overlapped. However, in some cases, processing speed may be slower.

See Also

Revision History

2008/08/29 Initial version.


CONFIDENTIAL