svn commit: r243405 - in stable/9: include lib/libc/stdlib
Dimitry Andric
dim at FreeBSD.org
Sat Nov 24 14:02:46 UTC 2012
On 2012-11-22 16:19, Ed Schouten wrote:
> Author: ed
> Date: Thu Nov 22 15:19:53 2012
> New Revision: 243405
> URL: http://svnweb.freebsd.org/changeset/base/243405
>
> Log:
> MFC r229848:
>
> 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).
>
> I'm MFCing this now, as it seems aligned_alloc(3) is needed to make the
> new version of libc++ work, which was merged back to FreeBSD 9 in r243376.
>
> Requested by: dim
Thanks!
More information about the svn-src-stable
mailing list