The wrapper for C function
valloc()or its equivalent in the given system - allocate a system-aligned block of memory.For an overview see page eXtremeDB System Wrappers
void * mco_sys_valloc( /*IN*/ mco_size_t size );
|
size |
The size of the new memory block |
This function allocates a of
sizebytes aligned to a multiple of the value returned bysysconf(_SC_PAGESIZE). The allocated memory block is aligned to a system memory page which is good for OS-operations such as AIO. It resembles the standard C functionvalloc()or its equivalent in the given system .
| void * | A pointer to the allocated memory block |