In my program I initialize a series of buffers, and all but one of those buffers is initialized with calloc because the buffers must be initialized to zero.
But calloc doesn't give me 64-byte aligned buffers by default, so I want to switch to posix_memalign. However, posix_memalign doesn't initialize to zero.
So my question is: how can I initialize an aligned memory buffer to zero (with posix_memalign or anything else)?