summaryrefslogtreecommitdiffstats
path: root/test/aligned_alloc.exp
Commit message (Collapse)AuthorAgeFilesLines
* Implement aligned_alloc().Jason Evans2012-03-131-0/+25
Implement aligned_alloc(), which was added in the C11 standard. The function is weakly specified to the point that a minimally compliant implementation would be painful to use (size must be an integral multiple of alignment!), which in practice makes posix_memalign() a safer choice.