Function iox::cxx::alignedAlloc

Function Documentation

void *iox::cxx::alignedAlloc(const uint64_t alignment, const uint64_t size) noexcept

allocates aligned memory which can only be free’d by alignedFree

Parameters:
  • alignment, alignment[in] of the memory

  • size, memory[in] size

Returns:

void pointer to the aligned memory