[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdlib.h> void *valloc(size_t size); |
This function is just like malloc
(see section malloc) except the returned
pointer is a multiple of the CPU page size which is 4096 bytes.
A pointer to a newly allocated block of memory.
ANSI/ISO C | No |
POSIX | No |
char *page = valloc(getpagesize()); |