I\'m trying to understand what functions memalign() and posix_memalign() do. Reading the available documentation didn\'t help.
memalign()
posix_memalign()
Can someone
How does it work is implementation dependent. The purpose of the function is to give you an n-bytes aligned memory block (the start address of the block is a multiply of n).