GCC #define for alignment

Ian Lance Taylor iant@google.com
Wed Dec 3 15:10:00 GMT 2008


"John (Eljay) Love-Jensen" <eljay@adobe.com> writes:

> I was always a bit irked that malloc did not provide an alignment
> parameter.

There are separate functions for this: memalign and posix_memalign.

Ian



More information about the Gcc-help mailing list