shz_memmove
SHZ_INLINE void* shz_memmove(void* dst, const void* src, size_t bytes) SHZ_NOEXCEPT;Generic drop-in fast memmove() replacement.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
dst | void * | |
src | const void * | |
bytes | size_t |
Returns
Section titled “Returns”void *
Details
Section titled “Details”Copies bytes from src to dst, determining the most efficient specialization to call into at run-time, return dst. The source and destination buffers are allowed to overlap, making this routine slightly less efficient, but more versatile than shz_memcpy().
There is no alignment or size requirement for this routine.
Availability
Section titled “Availability”- C++ equivalent:
shz::memmove - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_mem.h:90 - Module: Memory, section "C stdlib Replacements"