delorie.com/djgpp/doc/libc/libc_848.html | search |
[ < ] | [ > ] | [ << ] | [ 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()); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |