On Sun, Aug 30, 2009 at 8:32 PM, Jeremy Kerr<jk at ozlabs.org> wrote: > If you don't know the size of the buffer at compile time, I'd suggest using > memalign() rather than malloc(). Remark: My manpage for memalign(3) says that it's obsolete and you should use posix_memalign(3). -- Jack