VOID* osHeapAlloc ( VOID *  pPool,
UINT32  uwSz  
)

Alloc memory block from heap memory.

Description:
This API is used to alloc memory block from heap memory.
注意:
  • None.
参数:
参数名称 描述
pPool  [IN/OUT] A pointer pointed to the memory pool.
uwSz  [IN] Size of heap memory.
返回值:
返回值 描述
VOID* 
Dependency:
  • los_heap.h: the header file that contains the API declaration.
参见:
osHeapFree
自从:
Huawei LiteOS V100R001C00