This function copies a memory region from src
to dst
.
More...
Functions | |
mcuxClMemory_Status_Protected_t | mcuxClMemory_copy (uint8_t *dst, uint8_t const *src, size_t len, size_t buflen) |
Copies a memory buffer to another location. More... | |
This function copies a memory region from src
to dst
.
mcuxClMemory_Status_Protected_t mcuxClMemory_copy | ( | uint8_t * | dst, |
uint8_t const * | src, | ||
size_t | len, | ||
size_t | buflen | ||
) |
Copies a memory buffer to another location.
The two buffers must not overlap.
[out] | dst | pointer to the buffer to be copied. |
[in] | src | pointer to the buffer to copy. |
[in] | len | size (in bytes) to be copied. |
[in] | buflen | buffer size (if buflen < len, only buflen bytes are copied). |