Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
unwind
7y ago
0 comments
Share
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.
0 comments
default
newest
oldest
willtim
7y ago
Could I not just call such a function from my alternative language?
rurban
7y ago
Only for sizes <4KB
j
/
k
navigate · click thread line to collapse