diff options
author | ed <ed@FreeBSD.org> | 2012-01-09 06:36:28 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-01-09 06:36:28 +0000 |
commit | 990fc2900cc85359139fbca95c216c6c302873af (patch) | |
tree | 95b1629eb692f9ea1ee495c472e77e7e68422189 /lib/libc/stdlib/labs.c | |
parent | b9d5a50095d3b8b3b530da7e7b24d476068d01b5 (diff) | |
download | FreeBSD-src-990fc2900cc85359139fbca95c216c6c302873af.zip FreeBSD-src-990fc2900cc85359139fbca95c216c6c302873af.tar.gz |
Add aligned_alloc(3).
The C11 folks reinvented the wheel by introducing an aligned version of
malloc(3) called aligned_alloc(3), instead of posix_memalign(3). Instead
of returning the allocation by reference, it returns the address, just
like malloc(3).
Reviewed by: jasone@
Diffstat (limited to 'lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions