| cvs.gedasymbols.org/djgpp/doc/libc/libc_562.html | search | 
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
#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.
| ANSI/ISO C | No | 
| POSIX | No | 
char *page = memalign(1024, 1024 * 4);  | 
| webmaster | delorie software privacy | 
| Copyright © 2004 | Updated Apr 2004 |