Syntax
void* vm_malloc(
    VMUINT size
);
ContentsIndex
PreviousUpNext
vm_malloc
Syntax
void* vm_malloc(
    VMUINT size
);
Description

Allocates the specified size of memory. Uses vm_pmng_get_memory_status() to query the available max size of memory that can be allocated. User should configure the memory pool size of the VXP. The max size of available memory may not be allocated due to memory fragmentation.

Parameters
Parameters 
Description 
VMUINT size 
[IN] The number of bytes to be allocated. 
Returns

A pointer to the memory allocated. NULL if allocation failed.

File

vmmemory.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.