Go to the first, previous, next, last section, table of contents.
#include <stdlib.h> void *memalign(size_t size, size_t alignment);
This function is like malloc
(see section malloc) except the returned
pointer is a multiple of alignment. alignment must be a power of
2.
A pointer to a newly allocated block of memory.
not ANSI, not POSIX
char *page = memalign(1024, 1024 * 4);
Go to the first, previous, next, last section, table of contents.