Synopsis
void *aligned_alloc(size_t alignment,
                    size_t size);
Description

aligned_alloc allocates space for an object whose aligment is specified by alignment, whose size is specified by size and whose value is indeterminate.

aligned_alloc returns a null pointer if the space for the object cannot be allocated from free memory; if space for the object can be allocated, aligned_alloc returns a pointer to the start of the allocated space.