Function
aligned_alloc(_:_:)
Allocates size bytes of uninitialized storage whose alignment is specified by alignment.
fun aligned_alloc(
_ alignment: Int,
_ size: Int
) -> MemoryAddress
Parameters
alignment
size
The alignment of the allocated memory. Must be a valid alignment supported by the implementation.
The number of bytes to allocate. Must be an integral multiple of alignment.