4 ms·
That's not true, since C11 we have: #include <stdlib.h> void *aligned_alloc(size_t alignment, size_t size); which works like malloc() but lets you sp
by unwind 8y ago
That's not true, since C11 we have:
#include <stdlib.h>
void *aligned_alloc(size_t alignment, size_t size);
which works like malloc() but lets you specify the required alignment.